Get Wallet Complete Page context
Terminal step for direct (non-redirect) wallet payment flows. Returns an empty context; all relevant data was collected in previous steps. Used when the wallet gateway completes payment without a browser redirect.
Preconditions:
Basket must not be empty.
The selected payment option must be of wallet type.
Payment must have been started (
payment_startedin session).
Page Context:
Empty object
{}. No additional data is needed.
Step Completion: This page is considered already completed when the order has been finalised.
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>)
Wallet complete page context retrieved
GET /orders/checkout/?page=WalletCompletePage HTTP/1.1
Host: sandbox.akinon.com
x-requested-with: XMLHttpRequest
Accept: */*
Wallet complete page context retrieved
{
"context_list": [
{
"page_name": "WalletCompletePage",
"page_slug": "walletcompletepage",
"page_context": {}
}
],
"pre_order": {
"basket": {
"pk": 123,
"total_amount": "150.00"
},
"payment_option": {
"pk": 5,
"name": "Apple Pay",
"slug": "apple-pay",
"payment_type": "wallet",
"payment_type_label": "Wallet"
}
},
"errors": [],
"template_name": "orders/checkout.html"
}Last updated
Was this helpful?

