Get BKM Express Nonce Page context
Returns the context for the BKM Express nonce waiting page. At this stage the BKM Express JS widget completes the payment on the BKM side and sends the result (nonce) back to the server via an asynchronous callback. The client waits for this callback to complete.
Preconditions:
Basket must not be empty
A valid BKM Express ticket must be present (
path,token, andtransaction_idmust exist in the pre-order session data)
Page Context:
Returns an empty object
{}.
Step Completion: This page is considered already completed (is_already_done) when either:
The payment option is BKM Express and cached nonce data is present (i.e., the BKM widget callback has already been received), or
The order has already been finalised (
order_finalized()istrue)
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>)
BKM Express nonce page context retrieved
GET /orders/checkout/?page=BexNoncePage HTTP/1.1
Host: sandbox.akinon.com
x-requested-with: XMLHttpRequest
Accept: */*
BKM Express nonce page context retrieved
{
"context_list": [
{
"page_name": "BexNoncePage",
"page_slug": "bexnoncepage",
"page_context": {}
}
],
"pre_order": {
"basket": {
"pk": 123,
"total_amount": "150.00"
},
"payment_option": {
"pk": 5,
"name": "BKM Express",
"slug": "bkm-express",
"payment_type": "bkm_express",
"payment_type_label": "BKM Express"
},
"number": "ORD-2026-0001",
"installment": {
"pk": 2,
"installment_count": 3,
"label": "3 Installments"
},
"total_amount": "165.59",
"currency_type_label": "TRY"
},
"errors": [],
"template_name": "orders/checkout.html"
}Last updated
Was this helpful?

