简体   繁体   English

贝宝沙箱没有选择来捕获已收到订单的付款

[英]Paypal sandbox no option to capture payment for received order

I've connected PHP website with Paypal API with their library. 我已经将带有Paypal API的PHP网站与他们的库建立了连接。

I am setting intent to 'order' so no funds are captured. 我打算将其定为“订购”,因此不会收取任何资金。

However when i go to test merchant account there is no option to capture funds, only void and archive. 但是,当我去测试商家帐户时,没有选择来捕获资金,只有无效和存档。

Why is that? 这是为什么? Am i missing something? 我想念什么吗? Is there something specific with sandbox account? 沙箱帐户有什么特别的吗?

贝宝仪表板

Please kindly note that if you want to capture the funds , firstly you need to call DoAuthorization API for the order to authorize the Order, unless you can't capture the order directly. 请注意,如果您想获取资金,首先,您需要为订单调用DoAuthorization API来授权订单,除非您无法直接获取订单。 Basic capturing the Order paymentaction scenario process is like as below. 捕获订单付款操作方案的基本过程如下所示。

Order(Calling API) -> Authorization(Calling API) -> Capture(Either API or PayPal page) 订单(调用API)->授权(调用API)->捕获(API或PayPal页面)

But if you use API only, just calling DoCapture API to capture the order(reference OrderID) directly.(this way , you needn't authorize the order.) 但是,如果仅使用API​​,则只需调用DoCapture API即可直接捕获订单(参考OrderID)。(这样,您无需授权订单。)

Thanks. 谢谢。

It seems to be PayPal's feature (or defect?) that "Orders" could not be captured in merchant's PayPal account. PayPal的功能(或缺陷?)似乎无法在商家的PayPal帐户中捕获“订单”。 You have to call DoCapture API to capture the funds. 您必须调用DoCapture API来捕获资金。

https://developer.paypal.com/docs/classic/api/merchant/DoCapture_API_Operation_NVP/ https://developer.paypal.com/docs/classic/api/merchant/DoCapture_API_Operation_NVP/

The value for variable AUTHORIZATIONID could be a Order ID, or an Authorization ID generated from DoAuthorization API. 变量AUTHORIZATIONID的值可以是订单ID或从DoAuthorization API生成的授权ID。

https://developer.paypal.com/docs/classic/api/merchant/DoAuthorization_API_Operation_NVP/ https://developer.paypal.com/docs/classic/api/merchant/DoAuthorization_API_Operation_NVP/

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

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