Get MobilExpress OTP Phone Entry Page context
Returns the context for the phone number entry step when the MobilExpress gateway requires OTP verification before returning the card list.
Preconditions:
Basket must not be empty
Payment option must be selected and must be MobilExpress type (
check_mobilexpress_payment_selected)MobilExpressSelectionPagemust have been completed and the MobilExpress gateway must have indicated that OTP verification is required to retrieve the card list (check_need_otp)
Page Context:
phone_number: The user's phone number pre-filled frompre_order.user.phone
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>)
OTP phone entry page context retrieved
GET /orders/checkout/?page=MobilExpressCardFoundOtpRequiredPhonePage HTTP/1.1
Host: sandbox.akinon.com
x-requested-with: XMLHttpRequest
Accept: */*
OTP phone entry page context retrieved
{
"context_list": [
{
"page_name": "MobilExpressCardFoundOtpRequiredPhonePage",
"page_slug": "mobilexpresscardfoundotprequiredphonepage",
"page_context": {
"phone_number": "+905551234567"
}
}
],
"errors": [],
"template_name": "orders/checkout.html"
}Last updated
Was this helpful?

