Get MobilExpress Installment Selection Page context
Returns the list of available installment options for the selected MobilExpress card. Installment options are determined by the card type obtained from the BIN lookup.
Preconditions:
Basket must not be empty
Payment option must be selected and must be MobilExpress type (
check_mobilexpress_payment_selected)A card must have been selected from the card list and BIN lookup must have been completed (
check_card_selected)
Skip Conditions:
Page is skipped when
pre_order.installmentis already set (is_already_done).
Page Context:
installments: List of available installment plans for the selected cardinstallment_messages: List of informational messages from the installment service
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>)
Installment selection page context retrieved
GET /orders/checkout/?page=MobilExpressInstallmentSelectionPage HTTP/1.1
Host: sandbox.akinon.com
x-requested-with: XMLHttpRequest
Accept: */*
Installment selection page context retrieved
{
"context_list": [
{
"page_name": "MobilExpressInstallmentSelectionPage",
"page_slug": "mobilexpressinstallmentselectionpage",
"page_context": {
"installments": [
{
"pk": 1,
"installment_count": 1,
"label": "Single Payment",
"price_with_accrued_interest": "350.00",
"monthly_price_with_accrued_interest": "350.00"
},
{
"pk": 2,
"installment_count": 3,
"label": "3 Installments",
"price_with_accrued_interest": "357.00",
"monthly_price_with_accrued_interest": "119.00"
}
],
"installment_messages": [
"Installments available for this card."
]
}
}
],
"errors": [],
"template_name": "orders/checkout.html"
}Last updated
Was this helpful?

