How can I use Paypal for future payments without redirects?
Asked Answered
G

1

6

In my web app (PHP) the user should be able to connect his paypal account and every time he sold a product from our catalog we will charge him the price. Since the user might sell lot of products I want to make the payment part automatically so he won't have to approve every transaction.

Unfortunately I don't find a way to do this with Paypal SDK.

Currently the app is using the OAuth flow so the user is redirected to Paypal from where I get the access_token for him.

Question: Having the access_token for an user how can I create a (background) payment without the Paypal redirect?

Thank you

Gwen answered 7/8, 2017 at 7:7 Comment(0)
G
0

Answering to my question here since I think I found a solution. It looks like this can be done using Payment Preapproval Api

Gwen answered 3/10, 2017 at 9:36 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.