Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

client.Payment.capture_payment() で特定のパラメータが不足している場合のエラーメッセージが不正確 #86

Open
kouki3000 opened this issue Oct 19, 2023 · 0 comments

Comments

@kouki3000
Copy link

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:

  1. client.Payment.capture_payment(request_payload) を呼び出します。
  2. request_payload に merchantPaymentId, merchantCaptureId, orderDescription のいずれかを含まないようにします。
  3. エラーを確認します。

Expected behavior
merchantPaymentId, merchantCaptureId, orderDescription の各パラメータが存在しない場合、それぞれに対応した適切なエラーメッセージが表示されるべきです。

Screenshots

Environment (please complete the following information):

  • OS: macOS Monterey 12.4
  • Version: 1.7

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant