Get MobilExpress OTP Entry Page context
Returns the context for the OTP entry step. The user enters the code that was sent to their phone on MobilExpressCardFoundOtpRequiredPhonePage.
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)OTP SMS must have been sent and phone number must have been recorded (
check_otp_sent)
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>)
OTP entry page context retrieved
GET /orders/checkout/?page=MobilExpressCardFoundOtpRequiredOtpPage HTTP/1.1
Host: sandbox.akinon.com
x-requested-with: XMLHttpRequest
Accept: */*
OTP entry page context retrieved
{
"context_list": [
{
"page_name": "MobilExpressCardFoundOtpRequiredOtpPage",
"page_slug": "mobilexpresscardfoundotprequiredotppage",
"page_context": {}
}
],
"errors": [],
"template_name": "orders/checkout.html"
}Last updated
Was this helpful?

