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

Get MobilExpress Try Payment Page context

Returns the context for the payment attempt step. This page triggers the actual payment request to the MobilExpress gateway.

Preconditions:

  • Basket must not be empty

  • Payment option must be selected and must be MobilExpress type (check_mobilexpress_payment_selected)

  • A card must have been selected from the card list and BIN lookup must have been completed (check_card_selected)

  • An installment plan must have been selected (check_installment_selected)

  • Basket items must still be available at time of payment (check_available_basketitems)

Skip Conditions:

  • Page is skipped when the order is already finalized or me_payment_tried is set.

Page Context: (empty)

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

Try payment page context retrieved

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

Try payment page context retrieved

{
  "context_list": [
    {
      "page_name": "MobilExpressTryPaymentPage",
      "page_slug": "mobilexpresstrypaymentpage",
      "page_context": {}
    }
  ],
  "errors": [],
  "template_name": "orders/checkout.html"
}

Last updated

Was this helpful?