I am developing a Razorpay payment gateway for MailWizz v2 and would like some clarification to ensure I build it correctly and in line with your system.
Could you kindly confirm the following:
Could you kindly confirm the following:
- Base class / interface:
Which class should a custom payment gateway extend or implement in MailWizz v2 (for example, PaymentGatewayAbstract, BasePaymentGateway, or similar)? If possible, please share the exact file path and class name used by the built-in gateways (e.g., PayPal or 2Checkout) in the current version. - Required methods / signatures:
What are the mandatory methods that every payment gateway must implement (e.g., getName(), renderPaymentForm(), processOrder(), getConfirmationUrl(), etc.) in order to be detected and listed under Backend → Payment Gateways and in the customer checkout? - Developer resources:
Is there any official documentation, guide, or sample code for building a new Payment Gateway extension (not just a generic extension), so it appears alongside PayPal/2Checkout in the Payment Gateways manager?