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
It is currently off working hours and most of us aren't around

Rest assured that we will get back to you as soon as the day starts tomorrow!
It is currently a public holiday for us from where we are at.

There may be a delay in our responses but rest assured that we will be back at full speed when we are back to the office.
  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