エラーコード
ここでは stera smart one で発生するエラーコードについて説明します。
API の HTTP 接続ステータスコード
基本的に、三種類のステータスコードが返されます。
| コード | 説明 |
|---|---|
| 2xx | Success 成功 リクエストは正常に受理された |
| 4xx | Client Error クライアント側のエラー クライアントからのリクエストに誤りがあった。 |
| 5xx | Server Error サーバ側のエラー stera smart one サーバがリクエストの処理に失敗した |
エラーコードの詳細
| コード | 説明 | 詳細 | 発生元 |
|---|---|---|---|
| 10000 | SDK not initialized. SDKが初期化していません | iOS SDK | |
| 10001 | This service is inactive. 該当アプリはまだ有効していません | Inactive Application. Please wait for your application been approved by stera smart one. アプリが stera smart one の審査を通るまでお待ちください。 | API |
| 10002 | This paymentMethod is inactive. 該当決済方法はまだ有効していません | Inactive Payment Method. 決済方法が stera smart one の設定を完了までお待ちください。 | API |
| 10003 | The payment method is invalid. 無効な決済方法 | Invalid Payment Method. stera smart one が対応していない決済方法です。 | API |
| 10011 | SDK initialization is not finished yet. SDKの初期化処理がまだ完了していません | 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 「Charge ID」が不正 | Android SDK | |
| 10104 | Invalid payload 「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) 「Payload」が不正。 開発者側は、このエラーが「10104」と一緒です。 | Could not parse the given payload data. SDKに不正なデータを送信しました。 | Android SDK, iOS SDK |
| 10106 | Invalid resource 「resources」が不正。 | Payload is not for current platform. 使っている Payload は別のプラットフォームのデータ。 | Android SDK, iOS SDK |
| 10107 | Invalid status 「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 stera smart one system. 例:「Charge ID」が存在しません。 | API |
| 40012 | Order number is required. 「注文番号」が必須 | API | |
| 40013 | FrontUrl is required. 「frontUrl」が必須 | API | |
| 40015 | Buyer name is required. 「注文者のお名前」が必須 | API | |
| 40018 | Buyer zip is required. 「注文者の郵便番号」が必須 | API | |
| 40019 | Buyer address1 is required. 「注文者の住所1」が必須 | API | |
| 40020 | Buyer address2 is required. 「注文者の住所2」が必須 | API | |
| 40021 | The orderNo length is invalid. 「注文番号」の長さが不正、最大桁数が20桁です。 | 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. 該当決済方法はSource決済できません | API | |
| 40029 | Multiple source is not supported for the payment method. 該当決済方法は複数Sourceを保存できません | API | |
| 40030 | Source id or customer id is invalid. リクエストボディにCustomer IDあるいはSource IDは不正 | API | |
| 40031 | Source id is not suitable for the payment method. Source IDと決済方法は合わない | API | |
| 40034 | This charge does not support multiple refund. 該当決済は複数回返金できません | API | |
| 40035 | Payment resource is invalid. 「Resource」は不正 | 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 stera smart one server. 予期せぬエラーが発生した | API | |
| 50001 | Bad network. 通信障害が発生しました | Generic network error. stera smart one サーバーとの通信が中断しました。 | Android SDK, iOS SDK |
| 50002 | Invalid data received. データが不正 | e.g. The data received is not from stera smart one server 例:対応出来ないデータが受信しました。 | Android SDK, iOS SDK, HTML5 SDK |
| 50003 | An error occurred when communicating with payment provider 各決済サーバとの通信障害が発生しました | API | |
Updated 9 months ago
