エラーコード
ここでは elepay で発生するエラーコードについて説明します。
API の HTTP 接続ステータスコード
基本的に、三種類のステータスコードが返されます。
コード | 説明 |
---|---|
2xx | Success 成功 |
4xx | Client Error クライアント側のエラー |
5xx | Server Error サーバ側のエラー |
エラーコードの詳細
コード | 説明 | 詳細 | 発生元 |
---|---|---|---|
10000 | SDK not initialized. | iOS SDK | |
10001 | This service is inactive. | Inactive Application. Please wait for your application been approved by elepay. アプリが elepay の審査を通るまでお待ちください。 | API |
10002 | This paymentMethod is inactive. | Inactive Payment Method. 決済方法が elepay の設定を完了までお待ちください。 | API |
10003 | The payment method is invalid. | Invalid Payment Method. elepay が対応していない決済方法です。 | API |
10011 | SDK initialization is not finished yet. | It is recommended to initialize the elepay SDK as soon as your App starts. elepay SDK の初期化は、アプリが起動しましたらすぐ行う事を推奨します。 | iOS SDK |
10100 | Required payment method not supported by user device. | e.g. The OS is too old to support such payment method. or Apple Pay is disabled on user device, or there is no valid credit card in Wallet.app of iOS system. 例:システムバージョンが古いため、選択された決済方法にサポートされませんや、ユーザーのiOS設備がApple Payに対応していませんか、利用できるクレジットカードをiOSの財布アプリに登録していません。 | iOS SDK |
10101 | Credit card is declined. | e.g. Wrong card number, expired card. 例:カードナンバーが不正、カードの有効期間が不正など。 | API, Android SDK, iOS SDK |
10102 | Invalid amount. | User has input an invalid amount, the charging could not be processed. 金額が過大もしくは過小など。 | API, Android SDK |
10103 | Invalid charge ID | Android SDK | |
10104 | Invalid payload | Could not parse the given payload data. SDKに不正なデータを送信しました。 | Android SDK, iOS SDK |
10105 | Invalid payload (Same as 10104, developer do not need to care about the difference) | Could not parse the given payload data. SDKに不正なデータを送信しました。 | Android SDK, iOS SDK |
10106 | Invalid resource | Payload is not for current platform. 使っている Payload は別のプラットフォームのデータ。 | Android SDK, iOS SDK |
10107 | Invalid status | "status" of Payload is not valid for processing. Payload の status は不正のため処理できません。 | Android SDK, iOS SDK |
10108 | The charge is already refunded. | API | |
10109 | Not captured, refused refund | API | |
10100 | Payment method unsupported by user device | e.g.: When using Apple Pay, the user's device has no supported credit card added or the device dose not support Apple Pay at all. 例:ユーザーのスマホにApple Payで利用可能なクレジットカードが登録していないか、スマホのApple Payが無効に設定したしました。 | iOS SDK, Android SDK |
10110 | 3rd party payment App not installed | e.g: PayPay App or WeChat App is not installed. You should handle this error code and lead user to the install page for better experience. 例:PayPayアプリやWeChatアプリがインストールされていません。このエラーコードを処理し、ユーザーをインストールページに誘導してエクスペリエンスを向上させる必要があります。 | iOS SDK, Android SDK |
10111 | Not found error. | e.g: Charge ID cannot be found in elepay system. 例:「Charge ID」が存在しません。 | API |
40012 | Order number is required. | API | |
40013 | FrontUrl is required. | API | |
40015 | Buyer name is required. | API | |
40018 | Buyer zip is required. | API | |
40019 | Buyer address1 is required. | API | |
40020 | Buyer address2 is required. | API | |
40021 | The orderNo length is invalid. | API | |
40022 | The order_no already be used. | API | |
40023 | The currency is invalid. | API | |
40024 | Product name is required. | API | |
40025 | This charge does not support partial refund. | API | |
40026 | This charge does not support refund. | API | |
40027 | Invalid request body. | API | |
40028 | Source is not supported for this payment method. | API | |
40029 | Multiple source is not supported for the payment method. | API | |
40030 | Source id or customer id is invalid. | API | |
40031 | Source id is not suitable for the payment method. | API | |
40034 | This charge does not support multiple refund. | API | |
40035 | Payment resource is invalid. | API | |
40101 | Offline code is expired. | API | |
40102 | Offline code is invalid. | API | |
40103 | Not enough balance. | API | |
40104 | Not supported card. | API | |
40105 | Charge has already been closed. | API | |
40106 | Amount limit exceeded. | API | |
40110 | Other offline error occurred. | API | |
50000 | An error occurred on elepay server. | API | |
50001 | APIの場合は、 SDKの場合は | API, | |
50002 | Invalid data received. | e.g. The data received is not from elepay server 例:対応出来ないデータが受信しました。 | Android SDK, iOS SDK, HTML5 SDK |
50003 | An error occurred when communicating with payment provider | API | |
Updated 1 day ago