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

Get MobilExpress Payment 3D Secure Page context

Returns the 3D Secure redirect URL for the current MobilExpress payment attempt. The client should redirect the user to this URL to complete 3D Secure verification. After the bank redirects back, the POST endpoint finalises the order.

Preconditions:

  • Basket must not be empty

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

  • A 3D Secure redirect URL must have been generated by the MobilExpress gateway (check_redirect_url)

Skip Conditions:

  • Page is skipped when the order is already finalized (is_already_done).

Page Context:

  • me_redirect_url: The 3D Secure redirect URL provided by the MobilExpress gateway

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

3D Secure page context retrieved

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

3D Secure page context retrieved

{
  "context_list": [
    {
      "page_name": "MobilExpressPaymentThreeDPage",
      "page_slug": "mobilexpresspaymentthreedpage",
      "page_context": {
        "me_redirect_url": "https://3dsecure.example.com/redirect?token=abc123"
      }
    }
  ],
  "errors": [],
  "template_name": "orders/checkout.html"
}

Last updated

Was this helpful?