Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16750

react native - payment with PayPal

$
0
0

I am researching about the PayPal in React Native.

I am using the v2 apis because PayPal v1 is deprecated.

When I move to the document of PayPal payment v2, I see the document is a lot different from the v1.

Below is steps by steps my checkout:
1/ Use https://api.sandbox.paypal.com/v1/oauth2/token to get token.
2/ Use https://api.sandbox.paypal.com/v2/checkout/orders to create an order
3/ Use approve link for clients to accept payment
4/ I set the return_url to be https://www.google.com/. After clients accept the payment, I receive the return_urlhttps://www.google.com/?token=<order_id>&PayerID=<payer_id>

I get stuck in this step, how can I use the information order_id and payer_id?

If you know how to move on, please let me know too.

Thank you in advanced!


Viewing all articles
Browse latest Browse all 16750

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>