How should I handle transaction cancellations?

Hi! I’m implementing Maya Checkout, could you share the handling and how to simulate a Checkout payment cancellation on Sandbox?

To handle transaction cancellations in Maya Checkout, follow these steps:

  1. During the checkout process, if a customer clicks ‘Back to Merchant’ on the Maya Checkout page, it simulates a cancellation.
  2. Verify that your system is redirected to the provided redirectUrl.cancel.
  3. Ensure your platform processes the PAYMENT_CANCELLED webhook event sent by Maya Checkout.
  4. Update your internal transaction status to reflect the cancellation.

For testing in Sandbox:

  1. Initiate a checkout transaction.
  2. On the Maya Checkout page, click ‘Back to Merchant’ to simulate cancellation.
  3. Verify the cancellation is processed correctly and the PAYMENT_CANCELLED webhook is received.

For Sandbox concerns and other technical implementation inquiries, please get in touch with us via:

  • Sandbox Health Page: Check real-time service status updates.
  • Maya Developer Hub Service Desk: File
    a ticket in Sandbox.

To Know More:

We value your input and would love to hear your insights. Please submit you feedback here.

Nice! Thank you @system, this is helpful. I’ll try this and ask again in this thread if I have other questions.