Recurrent Custom Payment Plugin

  • David Addoteye
  • Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 6 months ago #150022 by David Addoteye
Recurrent Custom Payment Plugin was created by David Addoteye
Hello,

I have developed a payment plugin for a client and everything is working perfectly. However, I'm finding it difficult to get the recurrent part to work. I have followed the example on your GitHub but I still cant get the RECURRENT PART of the payment plugin to work.
Kindly help me as to how to go about it. Thank you

Please Log in or Create an account to join the conversation.

More
3 years 6 months ago #150026 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Recurrent Custom Payment Plugin
Hello David

It's hard to help as each payment gateway implemented it in a different way. You need to read their integration document and implement it

The first thing you should do is processRecurringPayment method in the payment plugin, test it and make sure the subscription is created in the payment gateway. That should be the first step

Tuan

Please Log in or Create an account to join the conversation.

  • David Addoteye
  • Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 6 months ago #150034 by David Addoteye
Replied by David Addoteye on topic Recurrent Custom Payment Plugin
Good day Tuan,
Thank you for your swift response.
I have added the method you suggested by following what's implemented in the os_paypal. However, I am still unable to get the Membership Component to recognize my payment plugin as a recurrent payment. Anytime I enable recurrent in a plan my custom payment plugin disappears from the payment options under that particular plan.
When you check the list of payment plugins to   the column that has recurrent is marked RED for my plugin although I have added the "processRecurringPayment" to the plugin.

I have added a screenshot to this post.

Thank you.

Please Log in or Create an account to join the conversation.

More
3 years 6 months ago #150044 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Recurrent Custom Payment Plugin
Hello

Add a new tag to xml of the plugin:

<supportRecurring>1</supportRecurring>

(Same as other tag like name, title... )

Then package and re-install the plugin, it should be realized as recurring.

Regards,

Tuan

Please Log in or Create an account to join the conversation.