Integration of Payment Method

The programming language PHP 7.4+ is used for integrating the payment method.

Integration Methods

  1. Success Redirect
  2. Webhook
  3. Check Status

Success Redirect

This integration is used when we receive a successful response from the merchant during the redirection of the user back to the panel. To implement this integration, you need to use the following methods from the Merchant.php template:

Webhook

This integration is used when we receive a successful response from the payment system via the webhook URL. The integration method is similar to the Success Redirect.

Check Status

This integration is used when the payment system does not return data about the transaction but provides a method for checking the payment status. For this integration, we need to prepare the following methods:

Integration Scheme

payments.drawio.png

Validation of Merchant Request

To verify the payment, we use the following checks: