1. PayPay for Developers FAQ
  2. en
  3. Tell me how to handle the "OP_OUT_OF_SCOPE" error of Get payment details in SDK.

PayPay for Developers FAQ

Tell me how to handle the "OP_OUT_OF_SCOPE" error of Get payment details in SDK.

Get payment details exists in respectve SDKs including Web Payment, Native Payment, Continuous Payment, and Request Money.
Hence if Get payment details of an SDK other than that of service you use is executed, the "OP_OUT_OF_SCOPE" error occurs; so use the SDK of service you use.

The following is a sample code of SDK for Get payment details (python).
- For Web Payment: Immediate sales and PreAuth & Capture, Dynamic QR, and App:
response = client.Code.get_payment_details("<merchantPaymentId>")

- For Native Payment, Native Payment: PreAuth & Capture, Continuous Payment, and Request Money:
response = client.Payment.get_payment_details("<merchantPaymentId>")

参考になりましたか?

送信しました。回答ありがとうございました。

解決しなかった場合は

フォームでお問い合わせ