UPDATES EasyBlog 6.0.14 Released! Joomla 5.x and PHP 8.x compatible now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is offline
Our team is away during the weekend. Some answers may already be available on our documentation

Rest assured that we will get back to your posts as soon as the week starts!
  Support is offline

Recurring payment

Artem Lebsak · ·
11:21 PM Sunday, 23 January 2022
None
Hi,

I need to implement recurring payments in my custom payment gateway.

Here is the docs from the payment gateway how should I register and process recurring payments:

1. Make a parent payment by calling Init with additional parameters Recurrent=Y and CustomerKey.
2. Redirect the Buyer to PaymentUrl.
3. After the Buyer pays for the order, the parameter RebillId will be sent in the notification for the AUTHORIZED status.
4. After some time, to make a recurring payment, you need to call the Init method with a standard set of parameters.
5. Receive the PaymentId parameter in response to Init.
6. Call the Charge method with the RebillId parameter obtained in step 3 and the PaymentId parameter, obtained in step 5.

So as you can see to make step 4 I need some action from the PayPlans. Is there any plugin event for that?

For example when the plan is expiring and it is recurrent then PayPlans trigger some event and as the result I can make step 4-6 to make a recurring payment and prolong the plan.

Best regards,
Artem
The replies under this section are restricted to logged in users or users with an active subscription with us