简体   繁体   English

Paypal直接支付API

[英]Paypal Direct Payment API

有没有关于如何使用Paypal直接支付API的最新文档?

我找到了Paypal直接支付API的工作演示代码: http//www.mmtutorialvault.com/paypal-pro-integration-in-php/

If you are using PHP this component is worth a look. 如果您使用PHP,这个组件值得一看。 It costs $30, but I found it was well worth the time and effort saved. 它花了30美元,但我发现它非常值得节省时间和精力。 http://www.binpress.com/app/php-paypal-api-class/20 http://www.binpress.com/app/php-paypal-api-class/20

PayPal provides various payment related operations using the /payment resource and related sub-resources. PayPal使用/ payment资源和相关子资源提供各种与支付相关的操作。 Use /payment for direct credit card payments and PayPal account payments. 使用/支付直接信用卡付款和PayPal帐户付款。

URI: https://api.paypal.com/v1/payments/payment URI: https//api.paypal.com/v1/payments/payment

Create a payment: POST /v1/payments/payment 创建付款:POST / v1 /付款/付款

For more information, refer: 有关更多信息,请参阅:

https://developer.paypal.com/webapps/developer/docs/api/#create-a-payment https://developer.paypal.com/webapps/developer/docs/api/#create-a-payment

On the Paypal PHP SDK repo Paypal says : Paypal PHP SDK回购Paypal上说:

Direct Credit Card Support 直接信用卡支持

Important: The PayPal REST API no longer supports new direct credit card integrations . 重要提示:PayPal REST API不再支持新的直接信用卡集成 Please instead consider Braintree Direct; 请改为考虑Braintree Direct; which is, PayPal's preferred integration solution for accepting direct credit card payments in your mobile app or website. 这是PayPal首选的集成解决方案,用于接受您的移动应用或网站中的直接信用卡付款。 Braintree, a PayPal service, is the easiest way to accept credit cards, PayPal, and many other payment methods. PayPal服务Braintree是接受信用卡,PayPal和许多其他付款方式的最简单方式。

So Paypal recommands to use Braintree Direct. 所以Paypal建议使用Braintree Direct。 More details on Braintree direct page 关于Braintree直接页面的更多细节

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

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