0

我在 PayPal 沙箱中创建了两个测试账户(买家和卖家)。然后尝试通过我的简单网络应用程序转账。我正在使用 DoDirectPayment 方法进行汇款。方法返回以下结果:

Direct Payment Completed Successfully: Array ( [TIMESTAMP] => 2012%2d07%2d30T17%3a27%3a38Z [CORRELATIONID] => 83da0b009d36d [ACK] => Success [VERSION] => 92%2e0 [BUILD] => 3288089 [AMT] => 10%2e00 [CURRENCYCODE] => USD [AVSCODE] => X [CVV2MATCH] => M [TRANSACTIONID] => 0MJ25519PP687260E )

交易成功完成,但测试账户资金出现问题。我从 1000.00 美元的账户中转了 10.00 美元,但买家账户金额没有改变。所以卖家得到他的 10.00 美元,他的总和是(200.00 美元 + 10.00 美元 - 费用)。当我以卖家身份登录时,我可以看到带有转账操作的交易历史。但是当我以买家身份登录时,交易历史是空的。
为了检查交易细节,我使用了 GetTransactionDetails 方法。结果如下:有

GetTransactionDetails Completed Successfully: Array ( [RECEIVERBUSINESS] => lukina_1343245948_biz%40gmail%2ecom [RECEIVEREMAIL] => lukina_1343245948_biz%40gmail%2ecom [RECEIVERID] => 7YKBZRV887SUC [PAYERID] => AJPWLMQCND7SG [PAYERSTATUS] => unverified [COUNTRYCODE] => US [ADDRESSOWNER] => PayPal [ADDRESSSTATUS] => None [SALESTAX] => 0%2e00 [SHIPAMOUNT] => 0%2e00 [SHIPHANDLEAMOUNT] => 0%2e00 [TIMESTAMP] => 2012%2d07%2d30T17%3a27%3a40Z [CORRELATIONID] => 56291b407d388 [ACK] => Success [VERSION] => 92%2e0 [BUILD] => 3386080 [FIRSTNAME] => Joe [LASTNAME] => Bell [TRANSACTIONID] => 0MJ25519PP687260E [RECEIPTID] => 3093%2d6316%2d6806%2d7055 [TRANSACTIONTYPE] => webaccept [PAYMENTTYPE] => instant [ORDERTIME] => 2012%2d07%2d30T17%3a27%3a37Z [AMT] => 10%2e00 [FEEAMT] => 0%2e59 [TAXAMT] => 0%2e00 [CURRENCYCODE] => USD [PAYMENTSTATUS] => Completed [PENDINGREASON] => None [REASONCODE] => None [PROTECTIONELIGIBILITY] => Ineligible [PROTECTIONELIGIBILITYTYPE] => None [L_QTY0] => 1 [L_TAXAMT0] => 0%2e00 [L_CURRENCYCODE0] => USD )

什么想法吗?谢谢。

4

2 回答 2

1

在沙盒模式下,买家账户不会提取交易中的资金。它解决了我的问题。

于 2012-08-09T09:47:59.863 回答
0

使用DoDirectPaymentAPI,您可以直接向信用卡收费。即使这张信用卡恰好附加到一个有效的 PayPal 账户,它也不会显示在该账户的交易历史中。

这是设计使然。如果您想从某人的 PayPal 账户中扣款(因此不是直接从信用卡中扣款),您可以使用PayPal Express Checkout

于 2012-07-31T10:52:30.363 回答