sander_ha

We were just lucky that Quickpay's API for recurring was almost identical with regular payments

sander_ha

Yes Omnipay does not support recurring payments because it variates so much from paymentprocessor to paymentprocessor

Kristian

Yeah, it might depend on the omnipay driver. I'm using one created by @sander_ha

Mo

Really? The omnipay site says it does not support recurring billing?

Kristian

@Mo I have a website running with subscriptions. I used omnipay

Mo

I just have a couple of projects that require recurring payments and I am trying to work out the best way to handle them.

Mo

Hey all, I was wondering if anyone on here uses recurring payments on a site they have built? If so is it a direct integration, or are they using something like omnipay?

Kristian

It is almost as if the orderprocessor is running twice. Causing the order reference to change and this to execute again: https://github.com/silvershop/silvershop-core/blob/2.4.2/code/checkout/OrderProcessor.php#L357

Show 1 attachment(s)
code/checkout/OrderProcessor.php:357

            $this->notifier->sendConfirmation();
Hide attachment content
Kristian

We have a shop running with a periodic issue. On occasion the end user gets the Order Confirmation twice. However it appears that the Order Reference has appended a 1 at the end.

This line would probably be the only place where that could happen: https://github.com/silvershop/silvershop-core/blob/2.4.2/code/model/Order.php#L673

But i stil dont understand why 2 order confirmation emails would be sent. Has anyone experienced this?

Show 1 attachment(s)
code/model/Order.php:673

            $candidate = $reference . "" . $count;
Hide attachment content