Describe the bug
client.Payment.capture_payment(request_payload) を使用する際、merchantPaymentId, merchantCaptureId, orderDescription のパラメータが存在しない場合、すべての ValueError が「MISSING REQUEST PARAMS for merchantPaymentId」と表示されます。
To Reproduce
Steps to reproduce the behavior:
- client.Payment.capture_payment(request_payload) を呼び出します。
- request_payload に merchantPaymentId, merchantCaptureId, orderDescription のいずれかを含まないようにします。
- エラーを確認します。
Expected behavior
merchantPaymentId, merchantCaptureId, orderDescription の各パラメータが存在しない場合、それぞれに対応した適切なエラーメッセージが表示されるべきです。
Screenshots
Environment (please complete the following information):
- OS: macOS Monterey 12.4
- Version: 1.7
Additional context