Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

  1. Set up Webhook Event and add charge.refunded.

  • Click Add Events and after that, click Add Endpoint

  1. Setup Payment Refund Button

  • In Gateway Transaction, add a Payment Refund button on the page layout

Refund Payment Functionality

  1. If the current Gateway Transaction record Record Type is not Transaction. The Payment Refund page will not display.

In this example, the Record Type is Adjustment, so an error message will display when you click Refund Payment.

image-20240112-061246.png
  1. If the Current Gateway Transaction record has Transaction as Record Type but the Transaction Status is Pending, the Refund Payment page will not display.

Gateway Transaction record below has Transaction as Record Type but has a Pending Transaction period, when Refund Payment is clicked an error message will display.

image-20240112-061514.png

3. If the current Gateway Transaction record has Transaction as Record Type but the Transactions Status is Failed, the Refund Payment Page will not display.

image-20240112-062100.png

  1. If the current Gateway Transaction record has Transaction as Record Type but the Transaction Status is Refunded, a message will display.

image-20240112-062248.png

  1. If the current Gateway Transaction record has Transaction as Record Type and the Transaction Status is Successful, the Refund Payment page will display.

image-20240112-062608.pngimage-20240112-062622.png

When Refunding a payment

  • If the refund is successful

  • A new Gateway Transaction will be created for refund and the source transaction will be its parent gateway transaction where the refund is being process/held

  • If the refund is failed

  • No Gateway Transaction where the Record Type is Refund will not be created

  • No labels