Newer Version Available
Process Payments
Process a payment in the payment gateway.
| Available in: Salesforce Spring ’20 |
-
Get the payment capture request object from the PaymentGatewayContext Class.
-
Set the HTTP request object.
- Read the parameters from the CaptureRequest object and prepare the HTTP request body.
-
Make the HTTP call to the gateway using the PaymentsHttp Class.
-
Parse the httpResponse and prepare the CaptureResponse object.
- Return the captureResponse.