Client-side REST questions from beginner
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am a beginner with paypal and trying to understand the client side rest api. I am no js expert but the code at https://developer.paypal.com/docs/integration/direct/express-checkout/integration-jsv4/client-side-R... does not look too difficult. Is that what it takes?
I am asking because I can not find any tutorials about client side only rest api. And also found this doc that seems to describe the same thing but it looks much more complicated when you also have to deal with oauth:
https://github.com/paypal/paypal-checkout/blob/master/docs/paypal-rest-api.md
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey,
Yep, so client side is actually pretty straight forward to be honest. You just need to create your app, copy in your client ID in to the JS, set the right environment and paste the code into your site: you can demo it all here:
https://developer.paypal.com/demo/checkout/#/pattern/client
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It does look straightforward. I guess the second link in my post is not 'express'.
Are there security concerns since it is client side?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey,
Yep, so client side is actually pretty straight forward to be honest. You just need to create your app, copy in your client ID in to the JS, set the right environment and paste the code into your site: you can demo it all here:
https://developer.paypal.com/demo/checkout/#/pattern/client
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.