Paypal Sandbox 企业帐户未记入贷方且买方未记入借方 [英] Paypal Sandbox Business Account not credited and Buyer is not debited

查看:28
本文介绍了Paypal Sandbox 企业帐户未记入贷方且买方未记入借方的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我做了一个 DoExpressCheckoutPayment 调用,详细信息如下,成功了.[当然是在成功调用 SetExpressCheckout 之后调用的]

I made a DoExpressCheckoutPayment call with following detail and success.[Of course the call is made after the successful SetExpressCheckout call]

METHOD=DoExpressCheckoutPayment&
VERSION=93&
PWD=MyPassword&
USER=User&
SIGNATURE=Signature&
PAYMENTREQUEST_0_PAYMENTACTION=Order&
PAYMENTREQUEST_0_AMT=85.0&
PAYMENTREQUEST_0_CURRENCYCODE=USD&
IPADDRESS=localhost&
BUTTONSOURCE=PP-ECWizard

上面调用的响应细节

<代码> PAYMENTINFO_0_REASONCODE =无,PAYMENTINFO_0_TAXAMT = 0.00,PAYMENTINFO_0_ERRORCODE = 0,PAYMENTINFO_0_SECUREMERCHANTACCOUNTID = AHYPGLSVNYNYC,BUILD = 6118442,PAYMENTINFO_0_TRANSACTIONTYPE = expresscheckout,PAYMENTINFO_0_ORDERTIME = 2013-05-30T11:26:49Z,PAYMENTINFO_0_PROTECTIONELIGIBILITY =无,的correlationID = c7061e7e201b4,SUCCESSPAGEREDIRECTREQUESTED =假,INSURANCEOPTIONSELECTED =假,PAYMENTINFO_0_CURRENCYCODE = USD,PAYMENTINFO_0_PAYMENTSTATUS =挂起,PAYMENTINFO_0_AMT = 85.00,PAYMENTINFO_0_TRANSACTIONID = O-3M746191252284215,PAYMENTINFO_0_ACK =成功,VERSION = 93,PAYMENTINFO_0_PAYMENTTYPE =无,PAYMENTINFO_0_PENDINGREASON =顺序,ACK =成功,SHIPPINGOPTIONISDEFAULT =假,时间戳=2013-05-30T11:26:49Z,代币=EC-9J328055AB342102B

(我修改了响应并将响应转换为HashMap)

(I have modified response and convert response into HashMap)

我在 Paypal Sandbox 中创建了两个测试帐户

I have created two test accounts in Paypal Sandbox

一个是企业账户,一个是个人账户.所有账户的初始余额为 5000 美元.

One is Business Account and one is Personal Account.All has opening Balance of 5000 USD.

买家账户显示的订单明细如下图所示为Pending only,不扣款.余额和上次一样.

The buyer account shows the Order Detail as shown in following figure as Pending only and does not debit itself. the balance as same as it was the last.

商户账户显示订单明细,但与账户未入账且余额未更新相同,如下图.

The Merchant's account shows the order detail but same as the account is not credited and balance is not updated as shown in following figure.

现在,如果我查看沙盒通知,我可以看到一些仅针对买方帐户的文本,而不是针对商家帐户的文本,如下图所示.

Now if i look at the Sandbox notifications i can see some text for Buyer account only and not for Merchant's account as shown in following figure.

我在这里缺少什么?为什么金额没有从买方借记并记入商家?为什么交易状态是 Pending ?

What i am missing here ? Why the amount is not debited from buyer and credited to Merchant's ? why the transaction status is Pending ?

我在 SO 上发现了 3 个类似的问题,与我的问题和互联网上的一些问题相匹配,我尝试了所有解决方案,但都没有成功.

我的沙盒企业帐户"中的付款审核"已关闭.

如果您需要我提供更多详细信息,请随时问我.

If you need me any more detail from me please ask feel free to ask me.

谢谢

推荐答案

您的交易显示待处理的原因是因为您将此作为订单处理.您还可以在您提供的回复中看到待处理的原因.

The reason that your transaction is showing pending is because you processed this as an order. You can also see the pending reason in the response that you provided.

PAYMENTINFO_0_PENDINGREASON=order

您现在需要返回并根据订单执行交易以实际向买家收费,这会将资金从买家账户转移到卖家账户.例如,您可以返回并使用 DoAuthorization API 完成后,您可以运行 DoCapture API 以完成购买.

You need to go back now and perform a transaction against the order to actually charge the buyer and this will move the funds from the buyer account to the seller account. For example you can go back and perform an Authorization against the order using the DoAuthorization API and then once that is completed you can run the DoCapture API to complete the purchase.

如果您最初不想将交易作为订单处理,您可以将其作为销售"而不是订单"进行处理,这将在您完成 DoExpressCheckoutPayment API 调用时预付资金.

If you are not wanting to process the transaction as an order initially, you can process it as a "Sale" rather than an "Order", and this will take the money up front when you complete the DoExpressCheckoutPayment API call.

这篇关于Paypal Sandbox 企业帐户未记入贷方且买方未记入借方的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆