Newer Version Available
Process Refund
Process a refund in the payment gateway.
| Available in: Salesforce Spring ’20 |
-
Get the referenced refund request object from the PaymentGatewayContext Class.
-
Set the HTTP request object.
- Read the parameters from the ReferencedRefundRequest object and prepare the HTTP request body.
-
Make the HTTP call to the gateway using thePaymentsHttp Class.
-
Parse the httpResponse and prepare the ReferencedRefundResponse object.
- Return the referencedRefundResponse.