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

Get Checkout Provider Notification Page context

Returns the agreement text body for the selected agreement. This page is typically the callback target for the checkout provider's payment notification. It handles order creation after the provider completes the payment.

Preconditions:

  • Basket must not be empty

  • A checkout provider must be selected

Skip Conditions:

  • Page is skipped if the order is already finalized

Page Context:

  • code — the selected agreement code (e.g. "sales", "info")

  • text — human-readable agreement name

  • agreement_body — rendered HTML content of the agreement

Previous Page: CheckoutProviderAgreementListPage

Next Page: CheckoutProviderThankYouPage

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

Notification Page context retrieved

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

Notification Page context retrieved

{
  "context_list": [
    {
      "page_name": "CheckoutProviderNotificationPage",
      "page_slug": "checkoutprovidernotificationpage",
      "page_context": {
        "code": "sales",
        "text": "Distance Sales Agreement",
        "agreement_body": "<p>Distance sales agreement content...</p>"
      }
    }
  ],
  "pre_order": {
    "user_email": "user@akinon.com"
  },
  "errors": [],
  "template_name": "orders/checkout.html"
}

Last updated

Was this helpful?