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 numbermerchant_customer_id— internal user ID of the customermerchant_customer_date_joined— ISO 8601 timestamp when the customer account was createdmerchant_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)
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>)
Thank You Page context retrieved
GET /orders/checkout/?page=CheckoutProviderThankYouPage HTTP/1.1
Host: sandbox.akinon.com
x-requested-with: XMLHttpRequest
Accept: */*
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?

