ここでは 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. | API |
10002 | This paymentMethod is inactive. | Inactive Payment Method. | API |
10003 | The payment method is invalid. | Invalid Payment Method. | API |
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 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. | 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. | Android SDK, iOS SDK |
10106 | Invalid resource | Payload is not for current platform. | Android SDK, iOS SDK |
10107 | Invalid status | "status" of Payload is not valid for processing. | 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. | 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. | iOS SDK, Android SDK |
10111 | Not found error. | e.g: Charge ID cannot be found in elepay system. | 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 | |
50000 | An error occurred on elepay server. | API | |
50001 | Bad network. | Generic network error. | Android SDK, iOS SDK |
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 8 days ago
What's Next
Webhook |