繁体   English   中英

Paypal REST API,怎么办?

[英]Paypal REST API, how to do?

我在Paypal REST API中相当陌生,我使用的是php,框架codeigniter。
对不起,我不太明白这是什么意思。

curl -v https://api.sandbox.paypal.com/v1/oauth2/token \
-H "Accept: application/json" \
-H "Accept-Language: en_US" \
-u "EOJ2S-Z6OoN_le_KS1d75wsZ6y0SFdVsY9183IvxFyZp:EClusMEUk8e9ihI7ZdVLF5cZ6y0SFdVsY9183IvxFyZp" \
-d "grant_type=client_credentials"

我找不到有关如何阅读此书的任何相关内容。 以及如何在php cURL中应用它

谢谢

请从github引用此代码。 https://github.com/kidino/paypal_ec这是非常基本的内容,您可以轻松理解并只需完成Paypal付款步骤和API调用的过程即可。 这是文档。 https://developer.paypal.com/docs/classic/express-checkout/integration-guide/ECGettingStarted/

angelleye.com还为Paypal提供了完整功能http://www.angelleye.com/product/php-codeigniter-class-library-for-paypal/

如果您想使用REST,请尝试使用此库,该方法非常适合所有REST API

https://github.com/philsturgeon/codeigniter-restclient

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM