Finalize the confirmation payment and complete the order
Submits the finalization of the confirmation payment. No input data is required. The page processes the order finalization via PaymentPageMixin and advances to the ThankYouPage.
Required Fields: (none — submitting with an empty body is sufficient)
State Updates:
Order is finalized; the pre-order is converted to a completed order.
Note:
set_defaultsis overridden withset_number=Falseto preserve the already-assigned order number.
Next Pages:
ThankYouPage
post
Header parameters
x-requested-withstring · enumRequiredDefault:
Required header for AJAX requests. Must be set to XMLHttpRequest for all checkout requests.
XMLHttpRequestPossible values: CookiestringOptional
Session cookie header (e.g. sessionid=abc123 or osessionid=<session_id>)
Body
objectOptional
Responses
200
Order finalized
application/json
errorsone of · nullableOptional
or
string[]Optional
template_namestringOptional
post/orders/checkout/?page=ConfirmationPaymentCompletePage
POST /orders/checkout/?page=ConfirmationPaymentCompletePage HTTP/1.1
Host: sandbox.akinon.com
x-requested-with: XMLHttpRequest
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 2
""200
Order finalized
{
"context_list": [
{
"page_name": "ThankYouPage",
"page_slug": "thankyoupage",
"page_context": {
"order_number": "ORD-20240001"
}
}
],
"pre_order": {
"user_email": "user@akinon.com"
},
"errors": {},
"template_name": "orders/checkout.html"
}PreviousGet Confirmation Payment Complete Page context
NextGet Redirection Payment Selected Page context
Last updated
Was this helpful?

