demo icon indicating copy to clipboard operation
demo copied to clipboard

How to implement new payment gateways

Open component6 opened this issue 1 year ago • 1 comments

Greetings! I have a question about the implementation of new payment gateways

For example: I created a class app/CustomPayPaymentGateway.php that implements the interface PaymentGateway

Where and how can I register a new gateway? I don't understand the line: PaymentGateways::register('paypal', PaypalPaymentGateway::class);

component6 avatar Apr 10 '23 19:04 component6