Setup a Site
...
Create a Site on Digital Experience
...
...
Setup Sharing Rules to allow guest users to create and read records
...
...
Copy the URL of the created site
...
and
...
add
...
Add your description
...
charge
...
.refunded.
...
Click Add Events and after that, click Add Endpoint
...
In Gateway Transaction, add a Payment Refund button on the page layout
Refund Payment Functionality
If the current Gateway Transaction record Record Type is not Transaction,
If the current Gateway Transaction record Record Type = Transaction BUT has Transaction Status = Pending,
If the current Gateway Transaction record has Record Type = Transaction BUT has Transaction Status = Failed,
If the current Gateway Transaction record has Record Type = Transaction BUT has Transaction Status = Refunded,
...
· The Refund Payment page will display
When Refunding a payment
...
If the refund is successful
...
No Gateway Transaction where the Record Type is Refund will not be created
...