I'm developing a custom payment plugin, based on the paypal plugin. The plugin still has the paypal code for recurring payments, but it's not registering as a payment plugin that supports recurring payments.
1. Currently, the value to indicate a payment plugin supports recurring payment is hardcoded in database. You will need to look at at #__osmembership_plugins table, find the record associated to that new plugin, change support_recurring_subscription field to 1 and the payment plugin will be ready for recurring payment
2. The next step is implement processRecurringPayment method inside the payment plugin to register the recurring payment with the payment gateway
Please go with these steps and let me know if you need more assist
No, it does not exist. In all of payment gateways which support recurring payment, the payment plugin just registers the recurring payment with the payment gateway
Then the payment gateway process payment (for example, every month). Each time the payment gateway process payment, it will notify Membership Pro about the payment and then membership pro has to validate that payment, extends the recurring payment....