我在PayPal沙箱中创建了两个测试帐户(买方和卖方)。然后尝试通过我简单的webapp进行汇款。我正在使用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 )
交易成功完成,但测试帐户资金出现问题。
我从帐户中转帐了10.00美元,金额为1000.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 )

有什么想法吗?谢谢。

最佳答案

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

关于paypal - 使用DoDirectPayment方法的PayPal交易问题,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/11727086/

10-15 12:37