Confirm and initiate saved card payment
Submits the payment confirmation for the saved card transaction. Upon submission, the system evaluates whether 3D Secure authentication is required.
If 3D Secure is required, the response routes to
SavedCardThreeDSecurePagewith the redirect URL for the bank's 3D Secure flow.If 3D Secure is not required, the payment is processed immediately and the response routes to
ThankYouPage.
The accepted fields depend on the active payment gateway. Three input schemas are defined:
Standard gateways (
SavedCardConfirmationInput): Onlyagreementis required.Iyzico gateway (
IyzicoSavedCardConfirmationInput):agreementandregister_consumer_cardare required. Eithercard_token(to charge an existing Iyzico card) orcard_numberwith full card details (to pay with a new card) must also be provided.PayU RO gateway (
PayURoSavedCardConfirmationInput):agreementis required. Optional browser device fingerprint fields may be submitted for 3D Secure authentication.
Required Fields (all gateways):
agreement: Must betrue.
Validation:
Basket amount must be greater than zero.
Available basket items are re-validated before payment is initiated.
Backward Navigation:
No state is reset on backward navigation.
Next Page:
SavedCardThreeDSecurePage— when 3D Secure authentication is required.ThankYouPage— when payment completes without 3D Secure.
available_for_post_order: false
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>)
Payment confirmed
POST /orders/checkout/?page=SavedCardConfirmationPage HTTP/1.1
Host: sandbox.akinon.com
x-requested-with: XMLHttpRequest
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 18
"agreement=true"Payment confirmed
{
"context_list": [
{
"page_name": "SavedCardThreeDSecurePage",
"page_slug": "savedcardthreedsecurepage",
"page_context": {
"redirect_url": "/orders/saved-card-redirect/"
}
}
],
"errors": [],
"template_name": "orders/checkout.html"
}Last updated
Was this helpful?

