thephpleague / omnipay-sagepay

Sage Pay driver for the Omnipay PHP payment processing library
MIT License
54 stars 78 forks source link

How to implement Subscription using Server InfFrame integration? #192

Open grim-reapper opened 1 year ago

grim-reapper commented 1 year ago

How to implement subscription? I mean recurring payment where payment automatically detected after specific interval.

judgej commented 1 year ago

I don't believe SagePay/Opayo/NextNewName supports subsctiptions as a service. What it does support is continuos authority and you can build your own subscription service around that.

To set up a continuous authority, you would take the user through a normal payment or authorisation, but with the createToken flag set. It's not super-intuitive, but if you check out the Opayo documentation, it should be a little clearer on how it maps onto this package.