Paypal API - REST API or SDK (Java) -


we re-developing our ecommerce application , goingto use paypal our main gateway. trying figure out whether use rest api or sdk. sdk easier use rest api? better use?

a way @ paypal sdks built on top of apis (the root endpoints) in order abstract out lot of complexities , keep integrations up-to-date possible.

if leveraging off of api own code (and no sdk), you'll have build out pieces auth (oauth 2), in order capture access token, build out calls each endpoint wish build against. of time you'll see integrations if people want highly customize build against api, or want build in language / integration not available in sdks.

the sdk abstract out complexities you, it'll easier integration. in addition, sdks continually updated apis change, won't have update code maintain that, fetch newest sdk version , test integration.

if you're looking easiest integration, use sdk. java, that's @ https://github.com/paypal/paypal-java-sdk. there's number of quickstart samples @ https://developer.paypal.com/docs/api/quickstart/ using sdks.


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -