Submit phone number to receive MobilExpress OTP
Sends an OTP to the provided phone number via the MobilExpress gateway (send_otp_for_card_list). On success, the flow advances to the OTP entry page.
Required Fields:
phone_number: Recipient phone number. Must be exactly 10 characters.
State Changes:
pre_order.data['me_otp_sent']is set totruepre_order.data['me_phone_number']is set to the submitted phone numberForward MobilExpress data (
me_otp_valid,me_card_token, etc.) is cleared
Next Page: MobilExpressCardFoundOtpRequiredOtpPage
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>)
Recipient phone number for the OTP SMS. Must be exactly 10 characters.
5551234567OTP phone submission result
POST /orders/checkout/?page=MobilExpressCardFoundOtpRequiredPhonePage HTTP/1.1
Host: sandbox.akinon.com
x-requested-with: XMLHttpRequest
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 29
"phone_number='5551234567'"OTP phone submission result
{
"context_list": [
{
"page_name": "MobilExpressCardFoundOtpRequiredOtpPage",
"page_slug": "mobilexpresscardfoundotprequiredotppage",
"page_context": {}
}
],
"errors": {},
"template_name": "orders/checkout.html"
}Last updated
Was this helpful?

