文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>Paypal 开发(一)

Paypal 开发(一)

时间:2010-07-29  来源:F.U.Moon


两种付款方式:

1.第一种使用ExpressCheckout的API(三个API搞定:SetExpressCheckout, GetExpressCheckoutDetails, DoExpressCheckoutPayment).针对有Paypal账号的付款用户。

2.第二种使用 DirectPayment的API(使用:DoDirectPayment ).针对用信用卡(VISA等卡片)进行付款到Paypal商家。)


以下部分内容摘自Paypal官网:

1) Use API Express Checkout(Paypal user)


how it works?
1.Your customer chooses to pay with PayPal by entering their email address and PayPal password, without leaving your website.

2.Your customer makes the payment using PayPal.

3.The payment information is sent to PayPal using PayPal Express Checkout API operations.

4.The funds from the transaction are sent to your PayPal account.


Some useful information:

1) about the token

Typically,the API operation that sets up a redirection to PayPal returns atoken,

which is passed as a parameter in the redirect to PayPal.The token also may be required in related API operations.


2) about the API Credentials

To use the PayPal API, you must have API credentialsthat identify you as a PayPal business account holder authorizedto perform various API operations.

Although you can use either an API signature or a certificatefor credentials, PayPal recommends you use a signature.

Important:

You can use either a signature or acertificate; however, you cannot use a signature and a certificateat the same time.




https://www.x.com/community/ppx/ec
https://www.x.com/docs/DOC-1122




2) Website payments pro(Paypal user(Use API Express Checkout) or use credit card directly(Use API Direct Payments))

PayPal's Website Payments Pro lets you accept
both credit cards and PayPal payments directly on your website. It consists of two API-based solutions: Direct Payment and Express Checkout.
Direct Payment lets you accept credit cards on your website. Your customers do not need a PayPal account to pay.

how it works?
1.Your customer pays on your website with their credit card.

2.The payment information is sent to PayPal using the PayPal DoDirectPayment API operation.

3.PayPal processes the payment information.

4.The funds from the transaction are sent to your PayPal account.

https://www.x.com/community/ppx/wpp
https://www.x.com/docs/DOC-1328

相关阅读 更多 +
排行榜 更多 +
辰域智控app

辰域智控app

系统工具 下载
网医联盟app

网医联盟app

运动健身 下载
汇丰汇选App

汇丰汇选App

金融理财 下载