Submit wallet payment token and execute payment
Submits the payment token obtained from the wallet provider and starts the payment transaction. The required fields vary by wallet method:
Apple Pay:
payment_token(required, JSON) plus optionaldevice_info,merchant_defined_info, andmerchant_defined_secure_info.Google Pay:
payment_token(required, JSON).Cybersource UC:
payment_token(required, string) plus optional browser fingerprint fields (browser_java_enabled,browser_language,browser_color_depth,browser_screen_height,browser_screen_width,browser_time_zone).browser_headerandbrowser_user_agentare populated automatically from request headers.Other wallet providers: No input required (null serializer).
Backward Navigation:
Removes
payment_started,context_extras,token,redirection_started,redirect_url,remote_redirect_url, andhtml_contentfrom the session.
Next Page:
WalletRedirectCompletePage— when the gateway requires a browser redirect.WalletCompletePage— for direct (non-redirect) wallet flows.
Dynamic Settings Used:
USE_ONE_TIME_TOKEN: When enabled, a one-time token is appended to the redirect callback URLs to prevent session replay.ORDERS_USE_ISOLATED_PRE_ORDER_ON_RETURN(static): When enabled, the encoded order number is appended to the redirect callback URLs for isolated pre-order recovery.
available_for_post_order: true
Required header for AJAX requests. Must be set to XMLHttpRequest for all checkout requests.
XMLHttpRequestPossible values: Session cookie header (e.g. sessionid=abc123 or osessionid=<session_id>)
Payment token accepted — routes to next page
POST /orders/checkout/?page=WalletPaymentPage HTTP/1.1
Host: sandbox.akinon.com
x-requested-with: XMLHttpRequest
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 99
"payment_token='{\'data\':\'...\',\'header\':{...},\'signature\':\'...\',\'version\':\'EC_v1\'}'"Payment token accepted — routes to next page
{
"context_list": [
{
"page_name": "WalletCompletePage",
"page_slug": "walletcompletepage",
"page_context": {}
}
],
"errors": [],
"template_name": "orders/checkout.html"
}Last updated
Was this helpful?

