Automatic Recurring payments, how?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
11 years ago
How do automatic recurring payments get processed?

Say I have a list of recurring payments in my admin, what triggers these payments to be sent to the payment provider?
11 years ago
kevanbulmer wrote:
How do automatic recurring payments get processed?

Say I have a list of recurring payments in my admin, what triggers these payments to be sent to the payment provider?

Currently, only the Authorize.NET, manual credit card and PayPal Direct support recurring payments. You can process them in admin>sales>recurring payments for all orders with product variants which were defined as recurring products
11 years ago
Hi Eduardo

I am implementing my own payment provider, which is to include recurring payments.

But what I dont understand is if I have a list of recurring payments, that are set to Automatic, what triggers these payments to be processed? something, somewhere on the site must check for any due recurring payments, then send off the payment to the provider, right?

Say if I have a (automatic) recurring payment due to be paid tomorrow, how/what triggers this payment to be sent to my provider?

Thanks
Kevan
11 years ago
kevanbulmer wrote:
Hi Eduardo

I am implementing my own payment provider, which is to include recurring payments.

But what I dont understand is if I have a list of recurring payments, that are set to Automatic, what triggers these payments to be processed? something, somewhere on the site must check for any due recurring payments, then send off the payment to the provider, right?

Say if I have a (automatic) recurring payment due to be paid tomorrow, how/what triggers this payment to be sent to my provider?

Thanks
Kevan

Maybe you have to set your product as a "Recurring product:" in product variant info
11 years ago
Hi Eduardo

Thanks for taking the time to reply to this, but what I am looking for is the actual mechanism of what sends my paynemt from nop to my payment provider?

Thanks
Kevan
6 years ago
yeah as always when in need nobody knows. The only I know if that if a do orderProcessingService.ProcessNextRecurringPayment(rp) it will be call ProcessRecurringPayment and even so there I have no next order automatically created for me. I think because the method executes before PlaceOrder what a deal and if I place the order manually then I am pretty sure I will have a duplicate order for nothing. This is very bad processing mechanisms it should triggers ProcessPayment or PostProcessPayment after ProcessRecurringPayment next time the same way that in the first time or at least give an new generated order so I can do it my self. Cero documentation, cero explanation this is bad.
2 years ago
Hello, i create a custom payment method that support automatic recurring payment. But i don't know how the process works. In IPaymentMethod interface exist a method called ProcessRecurringPaymentAsync but this method excecute before PostProcessPaymentAsync. Afeter receive the result of payment the plugin call to _orderProcessingService.ProcessNextRecurringPaymentAsync. What i need is a method that excecute every time the new recurring trigger. id that method excecute then i be available to send a new charge to card pplace buy client.
2 years ago
You need to create a Schedule Task that will check if it is time to make a Recurring Payment.
If it is time to make a new Recurring  Payment
then call the above routines
2 years ago
Thanks for reply. Can you help me with example of how can i do that. From where i get the time to create a new payment.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.