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 nameagreement_body— rendered HTML content of the agreement
Previous Page: CheckoutProviderAgreementListPage
Next Page: CheckoutProviderThankYouPage
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>)
Notification Page context retrieved
GET /orders/checkout/?page=CheckoutProviderNotificationPage HTTP/1.1
Host: sandbox.akinon.com
x-requested-with: XMLHttpRequest
Accept: */*
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?

