You need to set up and configure a web server hosted outside of Zuora as the payment hub to process requests and responses between the custom payment gateway and the external payment gateway. If the payment gateway is building an integration on your behalf, you can skip this section.
When the payment hub receives a request from the custom payment gateway in Zuora, it validates the credentials and then sends the request to an external payment gateway. When the payment hub receives a response from the external payment gateway, it sends the response back to the custom payment gateway in Zuora’s format.
It is recommended to configure your web server with the following factors considered:
- High concurrency. The payment hub might need to be configured with the message queue to process the highly concurrent payment requests.
- Deduplication. Payment retry might be triggered when a payment fails. The payment hub might need to be configured with the deduplication capability to avoid duplicated payment collection.
See Requests and responses processed by the payment hub for more information.