Get MobilExpress Try Payment Page context
Returns the context for the payment attempt step. This page triggers the actual payment request to the MobilExpress gateway.
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)An installment plan must have been selected (
check_installment_selected)Basket items must still be available at time of payment (
check_available_basketitems)
Skip Conditions:
Page is skipped when the order is already finalized or
me_payment_triedis set.
Page Context: (empty)
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>)
Try payment page context retrieved
GET /orders/checkout/?page=MobilExpressTryPaymentPage HTTP/1.1
Host: sandbox.akinon.com
x-requested-with: XMLHttpRequest
Accept: */*
Try payment page context retrieved
{
"context_list": [
{
"page_name": "MobilExpressTryPaymentPage",
"page_slug": "mobilexpresstrypaymentpage",
"page_context": {}
}
],
"errors": [],
"template_name": "orders/checkout.html"
}Last updated
Was this helpful?

