Confirm loyalty money payment and place the order
Submits the user's agreement to terms and conditions, confirming the loyalty money payment. On success, the order is placed using the available loyalty money balance, which must fully cover the order total.
Required Fields:
agreement: Must betrue. The user must explicitly accept the terms and conditions to proceed.
Validation:
agreementmust betrue; any other value returns a validation errorThe basket total must be greater than zero
State Update:
On success, the order is finalized using the loyalty money balance. The card and installment information in the pre-order are cleared as they are not applicable to loyalty money payments.
Backward Navigation:
Navigating backward from this page does not alter the pre-order state.
Next Pages:
The order is placed upon successful submission; the checkout flow advances to the order confirmation step.
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>)
User must accept the terms and conditions to proceed with the loyalty
money payment. Must be true.
Loyalty money payment confirmed and order placed
POST /orders/checkout/?page=LoyaltyMoneyPage HTTP/1.1
Host: sandbox.akinon.com
x-requested-with: XMLHttpRequest
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 18
"agreement=true"Loyalty money payment confirmed and order placed
{
"context_list": [
{
"page_name": "LoyaltyMoneyPage",
"page_slug": "loyaltymoneypage",
"page_context": {}
}
],
"pre_order": {
"user_email": "user@akinon.com",
"payment_option": {
"pk": 7,
"name": "Loyalty Money",
"slug": "loyalty-money",
"payment_type": "loyalty_money",
"payment_type_label": "Loyalty Money"
},
"order": {
"pk": 5001,
"number": "ORD-2026-0001",
"status": "confirmed"
},
"number": "ORD-2026-0001",
"total_amount": "150.00"
},
"errors": {},
"template_name": "orders/checkout.html"
}Last updated
Was this helpful?

