RecurringPaymentsProfile Vs BasePayment

dan826
Contributor
Contributor

If I have a Payment class that extends `BasePayment` and I use `->setDetails()` to specify `BILLINGTYPE_RECURRING_PAYMENTS` for it, is this much different than using `CreateRecurringPaymentsProfile`? This is my code https://bitbucket.org/snippets/josh581/pex44G My idea was that I was going to set the billingtype to recurring this way and point the IPN to `/accounts/order/paypal/completed`. My concern is that if a user chooses to cancel the payment, that `CancelRecurringPayment` might not work. Another question I had was if I have to set the `NOTIFYURL` in the details of the payment class (if I can actually use that class) or setting it on the Paypal dashboard is enough? I'm using Symfony 3.4 with the Payum Bundle. 

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.