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

Get Checkout Provider Thank You Page context

Returns the post-order context for the checkout provider thank-you step. This page is shown after the order has been successfully created via the checkout provider flow. It provides the merchant redirect URL and customer account creation timestamps used by the provider.

Preconditions: (none — independent page)

Skip Conditions:

  • Page is skipped if the order is not yet finalized

Page Context:

  • return_url — absolute URL to the order success page on the merchant's storefront, containing a signed order number

  • merchant_customer_id — internal user ID of the customer

  • merchant_customer_date_joined — ISO 8601 timestamp when the customer account was created

  • merchant_customer_akifast_date_joined — ISO 8601 timestamp when the customer's social account (linked to the checkout provider) was created

Previous Page: CheckoutProviderNotificationPage

Next Page: (none — end of flow)

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

Thank You Page context retrieved

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

Thank You Page context retrieved

{
  "context_list": [
    {
      "page_name": "CheckoutProviderThankYouPage",
      "page_slug": "checkoutproviderthankyoupage",
      "page_context": {
        "return_url": "https://shop.example.com/orders/checkout-provider-success/abc123/",
        "merchant_customer_id": 42,
        "merchant_customer_date_joined": "2024-01-15T08:30:00+00:00",
        "merchant_customer_akifast_date_joined": "2024-06-01T10:00:00+00:00"
      }
    }
  ],
  "pre_order": {
    "user_email": "user@akinon.com"
  },
  "errors": [],
  "template_name": "orders/checkout.html"
}

Last updated

Was this helpful?