Skip to main content

Payment result

🧭 URL​

/payment/result

πŸ”‘ Redis Key​

tenant_slug:sections:payment_result

πŸ“ Description​

Page that communicates the result of a recently made payment. Allows retrying in case of an error or exiting the order flow.


🎯 Specific Behaviors​

Redirect on clicking the β€œBack to home” button is chosen based on the first of the following parameters:

  • thankYouPageOkRedirect field set in features
  • originUrl defined during cart initialization
  • fallback to home page

πŸ–ΌοΈ Images​

Payment error desktop

Payment error mobile

Payment success desktop

Payment success mobile


πŸ’Ύ JSON Example​

{
"labels": {
"it": {
"title": "ORDINE NΒ° {0}",
"retry-payment": "RIPROVA ORA",
"exit": "TORNA ALLA HOME"
},
"en": {
"title": "ORDER NΒ° {0}",
"retry-payment": "TRY AGAIN NOW",
"exit": "GO BACK TO HOME"
}
},
"links": {},
"images": {
"payment-success": "https://mysite/assets/order-sent.png",
"payment-error": "https://mysite/assets/order-sent-error.png"
},
"colors": {
"checkout-subtitle-background": "#26251d",
"retry-payment-background": "#26251d",
"retry-payment-border": "#26251d",
"retry-payment-pay": "#fffccc",
"exit-background": "#26251d",
"exit-border": "#26251d",
"exit-pay": "#fffccc"
}
}