Confirm MobilExpress card-list lookup
Triggers a card-list lookup on the MobilExpress gateway for the current user. Based on the gateway response, the flow proceeds to the OTP phone entry page (if OTP is required) or directly to the card list page.
Required Fields:
clear: Set totrueto cancel the MobilExpress flow and clear all stored MobilExpress data from the pre-order. Set tofalse(default) to proceed.
State Changes (when clear is false):
pre_order.numberis assignedpre_order.data['me_user_checked']is set totruepre_order.data['me_needs_otp']is set based on the gateway'sotp_requiredflagForward MobilExpress data (
me_otp_sent,me_phone_number, etc.) is cleared
State Changes (when clear is true):
All
me_*keys are removed frompre_order.data
Next Page:
MobilExpressCardFoundOtpRequiredPhonePage— whenme_needs_otpistrueMobilExpressCardListPage— otherwise
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>)
Set to true to cancel the MobilExpress flow and clear all stored MobilExpress
data from the pre-order. Set to false (default) to proceed with the card-list
lookup.
falseMobilExpress selection processed
POST /orders/checkout/?page=MobilExpressSelectionPage HTTP/1.1
Host: sandbox.akinon.com
x-requested-with: XMLHttpRequest
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 15
"clear=false"MobilExpress selection processed
{
"context_list": [
{
"page_name": "MobilExpressCardFoundOtpRequiredPhonePage",
"page_slug": "mobilexpresscardfoundotprequiredphonepage",
"page_context": {
"phone_number": "+905551234567"
}
}
],
"errors": {},
"template_name": "orders/checkout.html"
}Last updated
Was this helpful?

