English 中文(简体)
Paypal: Orders AP vs Pays API, andFinding better documentation
原标题:Paypal: Orders API vs Payments API, and finding better documentation

在Pal-Pal的APIC中,我完全失去了。 我一直在与APICA和PayPaleckout SDK号命令合作,试图为一个项目付款。 在试图贬低第2号命令的参考书,以便把多处捕获物用于原先授权的总订单时,我发现,关于付款通知的文件似乎更为有用。 我对两者之间的区别是我所利用的,还是我应该利用的,有点怀疑。

The Orders Reference AP:

An order represents a payment between two or more parties. Use the Orders API to create, update, retrieve, authorize, and capture orders.

虽然Payments AP Reference说:

Call the Payments API to authorize payments, capture authorized payments, refund payments that have already been captured, and show payment information. Use the Payments API in conjunction with the Orders API. For more information, see the PayPal Checkout Overview.

他们都描述了几乎相同的事情,付款意向书说,应当与第2号命令一并使用,而实际上却没有就如何共同使用这些物品提供任何指导。 所提供的“检查概况”与“Smart Buttons”指南和“APIC”号命令链接,实际上从未提及“付款意向书”。

因此,我的主要问题是:

  • What is the difference between the two APIs?
  • Which API do I need to use to support multiple captures? It seems like Payments is the only one which supports multiple captures but I already have infrastructure in place using only the Orders API to create an intent=AUTHORIZE transaction, have the order_id sent to the client so that PayPal can be popped up and the order authorized, and a webhook to receive the notification for that authorization. Can I now use the Payments API just to capture from that? Do I even need to? I can t find anything related to multiple captures in the Orders documentation.
  • Is there any other good literature describing how all of the moving parts of the Checkout SDK and the Orders/Payments API fit together for a smaller scale project? PayPal s own guides are all over the place and do very little to describe how the different parts interact or when you need one API vs the other.
最佳回答
问题回答

暂无回答




相关问题
2. 提交多件物品,一劳永逸地与营地一起支付

我有一些销售物品,有2和3级的定制。 一旦安装了用户,就会增加我的现场车。 问题在于,如何把每一件物品送到检查时支付费用? 唯一发现的法典......

PHP - Paypal product timeout

I have finally got my paypal system working using IPN and a reservation system to ensure that two people do not buy the same product. The problem is, the reservations last for 10 mins on my ...

Paypal not picking up shipping?

this is strange, for some reason this paypal isn t picking up my shipping_1 value, yet I have done another form similar, and it goes through ok? I have no idea what s wrong with it.. <form target=&...

PayPal Website Payment Pro / Payflow Pro Difficulties

Okey, I m using PHP/SQL for my built web-cart. I also have the required paypal account (business) so I have an API authentication. I also made a sandbox account and got an API authentication there too....

How to link username in site to PayPal information email?

It s not a problem but i don t know how to do this; let s say that I have a sign up form with some fields: username, password, email, as you know the user clicks on the BUY BUTTON and pay s up. Well, ...

About paypal express checkout api

In this picture,there are 3 main steps:SetExpressCheckout,GetExpressCheckoutDetails and DoExpressCheckoutDetails,I m now sure SetExpressCheckout is to be called by myself,what about ...

Does HttpWebRequest send 200 OK automatically?

Background: I am implementing Paypal IPN handler. This great article on Paypal states that I am required to send a 200 OK back to Paypal after I read the response. The processing of IPN request is ...

热门标签