LoginSignup
0
0

More than 1 year has passed since last update.

Error: Api: /smart/api/order/xxx/capture returned status code: 500

Posted at

■(PayPal) status code: 500

PayPalボタンをWEBに設置した際、ログインをして支払いをすると以下のようなエラーが出た。

Error: Api: /smart/api/order/xxx/capture returned status code: 500 (Corr ID: xxxxxxxx)
at https://www.paypal.com/smart/buttons?style.label=paypal&style.layout=vertical&style.color=gold&style.shape=rect&style.tagline=false&components.0=buttons&locale.country=JP&locale.lang=ja&sdkMeta=

エラーコードが500なので、公式のリファレンスで調べると
https://developer.paypal.com/docs/api/reference/api-responses/

予期しないエラーとのことで、原因は分からず。
image.png

■解決策

単純に、支払っているPayPalのアカウントに紐づけられたクレジットカードが使えなくなっていた。
意外に当事者は気づかないので、少しハマった。

少しでも皆さんの開発が効率的になればと思います。

My Twitter:
https://twitter.com/funny_man_daa

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0