For the complete documentation index, see llms.txt. This page is also available as Markdown.

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_started in 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

get
Header parameters
x-requested-withstring · enumRequired

Required header for AJAX requests. Must be set to XMLHttpRequest for all checkout requests.

Default: XMLHttpRequestPossible values:
CookiestringOptional

Session cookie header (e.g. sessionid=abc123 or osessionid=<session_id>)

Responses
200

Wallet complete page context retrieved

application/json
errorsone of · nullableOptional
or
string[]Optional
template_namestringOptional
get/orders/checkout/?page=WalletCompletePage
GET /orders/checkout/?page=WalletCompletePage HTTP/1.1
Host: sandbox.akinon.com
x-requested-with: XMLHttpRequest
Accept: */*
200

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?