Custom recurring payment plugin

  • Daniel Duvald
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 4 months ago #130223 by Daniel Duvald
Replied by Daniel Duvald on topic Custom recurring payment plugin
Ok, but that is unfortunately not how it's done for Danish payment gateways.

So in other words I would have to create a system plugin that checks for any recurring subscriptions that are due for payment, and then call the gateway.

Do you see any other option?

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

More
4 years 4 months ago #130224 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Custom recurring payment plugin
If so, that's the only way. You will have to write a system plugin (could be base on System - Membership Pro Offline Recurring Invoice to save time)

The plugin code is located at plugins/system/mpofflinerecurringinvoice/mpofflinerecurringinvoice.php

Regards,

Tuan
The following user(s) said Thank You: Daniel Duvald

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

  • Daniel Duvald
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 4 months ago #130230 by Daniel Duvald
Replied by Daniel Duvald on topic Custom recurring payment plugin
Thank you - that would indeed make it a bit easier to develop.

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

More
4 years 4 months ago #130246 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Custom recurring payment plugin
Yes. It would help saving sometime. Good luck with the development

Regards,

Tuan

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

  • Daniel Duvald
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 1 month ago - 4 years 1 month ago #132407 by Daniel Duvald
Replied by Daniel Duvald on topic Custom recurring payment plugin
Hi again
When my recurring plugin is renewing a subscription, the invoice id doesn't change. Is there a way to insure this happens?
Same thing happens if I manually renew the subscription from backend - the invoice id remains the same.
Thanks
Last edit: 4 years 1 month ago by Daniel Duvald.

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

More
4 years 1 month ago #132418 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Custom recurring payment plugin
Without seeing your code, I'm afraid of I don't know how to check it

If renew the subscription in the backend manually doesn't change invoice number, maybe there is something wrong. You can submit a support ticket so that we can check that part

Tuan

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

  • Daniel Duvald
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 1 month ago #132420 by Daniel Duvald
Replied by Daniel Duvald on topic Custom recurring payment plugin
Please see the ticket I've created - I've sent you a video explaining the case when this happens.

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