Get Checkout Provider Address Selection Page context
Returns the redirect URL for the checkout provider's hosted address selection form. The customer is redirected to or shown the provider's form to enter their shipping and billing addresses.
Preconditions:
Basket must not be empty
A checkout provider must be selected
redirection_startedmust betruein pre-order data
Skip Conditions:
Page is skipped if both
billing_addressandshipping_addressare already set on the pre-order
Page Context:
redirect_url— URL of the provider's hosted address formis_iframe— optional boolean indicating if the form should be embedded as an iframe
Previous Page: CheckoutProviderSelectionPage
Next Page: CheckoutProviderShippingOptionPage
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>)
Address Selection Page context retrieved
GET /orders/checkout/?page=CheckoutProviderAddressSelectionPage HTTP/1.1
Host: sandbox.akinon.com
x-requested-with: XMLHttpRequest
Accept: */*
Address Selection Page context retrieved
{
"context_list": [
{
"page_name": "CheckoutProviderAddressSelectionPage",
"page_slug": "checkoutprovideraddressselectionpage",
"page_context": {
"redirect_url": "https://akifast.example.com/checkout/abc123",
"is_iframe": false
}
}
],
"pre_order": {
"user_email": "user@akinon.com"
},
"errors": [],
"template_name": "orders/checkout.html"
}Last updated
Was this helpful?

