Paypal subscriptions aren't cancellable #1

Open
kbourgoin opened this Issue Jan 8, 2011 · 2 comments

Projects

None yet

1 participant

@kbourgoin
Owner
@kbourgoin
Owner

I've started work on a paypal2 gateway to handle this. If I can't finish it soon, I'll push the branch to github in case others want to work on it.

@kbourgoin
Owner

I wasn't able to finish this in time, so I uploaded what is done. Payments Pro works a lot like Amazon Payments. The user needs to authorize the payment with them, and then we get a token to use and to make a Pay request. The big difference is that paypal needs an interstital page with a 'receipt' on it before we make the pay call.

The best way to do this will be to have RETURN_URL point to something outside HiiCart showing the receipt. That will have a form which submits back to HiiCart, which will then issue the pay request, or set up the recurring payment. This should allow customization of the receipt page while keeping the core functionality of HiiCart separate from user-facing pages.

I've updated the example app to be functional enough to develop this. It's ugly as heck, but should be faster than doing it within the integrating app.

I might have some time in the next week or two to work on this, but I'm putting the code out here in case I don't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment