Logoelepay

FAQ for Server

Webhook

ItemQuestionAnswer
Retry logicIf a webhook cannot be delivered, will it be retried?Initially, retry 3 times at 1-minute intervals;
then retry 3 times at 10-minute intervals
Configuration unitCan we configure different URLs per store?Configuration is at the application level. Use the locationId in the webhook notification to determine the store.
Notification typeAre webhooks sent on payment failure?There are no webhook notifications for payment failures.
When using charge, poll for the payment status in your backend and, if it becomes failed, design your flow to allow a new attempt.
When using EasyQR, if a failure occurs while the code is still valid, the user can select a payment method and try again; therefore waiting until the code expires is recommended
Propagation timeIs it applied immediately after saving in the dashboard?Yes, applied immediately.
Because multiple configurations are possible, we recommend deleting the old URL after the switch is complete

frontUrl

Key WordQuestionAnswer
Browser tabAfter payment completes and it navigates to frontUrl, does it open in the original tab or a new tab?Credit card: navigates in the original tab.
When an app launches for code payments, the navigation to frontUrl opens in a new tab
Private modeIf the browser opens in private mode, can it navigate to frontUrl correctly?Yes, navigation works in private mode.
Where navigation occursDoes the navigation to frontUrl happen on the merchant’s QR display screen or on the user’s smartphone after payment?Navigation occurs on the device that accesses the code URL, so it navigates on the user’s smartphone
Navigation conditionIs navigation possible only when using checkout?Navigation is triggered by accessing codeUrl, so it is also possible when using only the Code API

charge

Key WordQuestionAnswer
Authorization/CaptureCan authorization and capture be performed at different times?For credit cards and Apple Pay/Google Pay, yes.
【How to implement】
Set capture=false in create charge to obtain an authorization.
Finalize the sale via capture charge.
【Notes】
Credit cards and Google Pay support only equal-amount or reduced-amount captures.
Apple Pay supports only equal-amount captures

EasyQR

Key WordQuestionAnswer
orderNoCan orderNo be duplicated?orderNo must be unique within the same application.
What error code will be returned if a duplicate orderNo is sent?Current behavior:
for a completed transaction, or when re-generating within the validity period of an already generated code with the same orderNo, the following error is returned:
"code": "9_000_000_40022",
"errorCode": "M002007",
"message": "該当注文番号はすでに支払済み。"
Therefore, you can re-create with an orderNo used for a transaction canceled via Close EasyQR or canceled due to expiration.

API keys

Key WordQuestionAnswer
ReissueWhen an API key is reissued, is there an overlap period between the old and new keys?They coexist for up to 3 days, but we recommend switching as soon as possible
Management unitDo we need to manage API keys separately for each store?API keys are managed per application (brand).
Secret/Public keyDo Create EasyQR code / Retrieve EasyQR code / Close EasyQR code all use the “secret key”?All of Create EasyQR code / Retrieve EasyQR code / Close EasyQR code use the secret key.
It is used via either Basic or Bearer authentication.
Secret/Public keyIn the JavaScript SDK, is the key used in new Elepay(key, options) the “public key”?The key specified for new Elepay(key, options) in the JavaScript SDK is the public key. It is used on the frontend for generating payment tokens, etc.; use the value labeled “Public Key” in the dashboard.

Last updated on

On this page