我在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 )
交易成功完成,但我的测试账户资金有问题。
我从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 )
有什么想法吗?感谢。
答案 0 :(得分:1)
在沙盒模式下,买方的帐户不会在交易中提取资金。它解决了我的问题。
答案 1 :(得分:0)
使用DoDirectPayment
API,您需要直接向信用卡收费。即使此信用卡恰好附加到有效的PayPal帐户,它也不会显示在该帐户的交易历史记录中。
这是设计的。如果您希望向某人的PayPal帐户收费(因此不是直接使用信用卡),您可以使用PayPal Express Checkout。