2015-07-13 83 views
0

我在轨道上使用这个宝石'paypal-sdk-adaptivepayments'红宝石。付款后我获得成功,但是当我在沙箱中看到我的帐户时,没有任何用户可以收到付款,而商家帐户也不会被扣款。 这是我的回应是我从贝宝取得成功的状态创建支付成功后,金额不反映在沙箱(适应性并行支付)

<PayPal::SDK::AdaptivePayments::DataTypes::PaymentDetailsResponse:0x00000007d3cfc8 @responseEnvelope=#<PayPal::SDK::AdaptivePayments::DataTypes::ResponseEnvelope:0x00000007d3cc80 @timestamp=Mon, 13 Jul 2015 00:04:03 -0700, @ack="Success", @correlationId="4a4043560f603", @build="17325060">, @cancelUrl="http://localhost:3000/payments/cancel", @currencyCode="USD", @ipnNotificationUrl="http://localhost:3000/payments/ipn_notify", @paymentInfoList=#<PayPal::SDK::AdaptivePayments::DataTypes::PaymentInfoList:0x00000007d33cc0 @paymentInfo=[#<PayPal::SDK::AdaptivePayments::DataTypes::PaymentInfo:0x00000007d33ba8 @receiver=#<PayPal::SDK::AdaptivePayments::DataTypes::Receiver:0x00000007d33ae0 @amount=160.0, @email="[email protected]", @primary=false, @paymentType="SERVICE", @accountId="MNF7MDPJWJHJL">, @pendingRefund=false>, #<PayPal::SDK::AdaptivePayments::DataTypes::PaymentInfo:0x00000007d33388 @receiver=#<PayPal::SDK::AdaptivePayments::DataTypes::Receiver:0x00000007d33310 @amount=10.0, @email="[email protected]", @primary=false, @paymentType="SERVICE", @accountId="HEPSP9YS5ZMPQ">, @pendingRefund=false>]>, @returnUrl="http://localhost:3000/payments/success", @status="CREATED", @payKey="AP-2G3459926X3244353", @actionType="PAY", @feesPayer="SENDER", @reverseAllParallelPaymentsOnError=false, @sender=#<PayPal::SDK::AdaptivePayments::DataTypes::SenderIdentifier:0x00000007d325f0 @useCredentials=false>> 

这里后,我想改变它完成,无需调用任何API再次做到这一点?

回答

0

哦搜索3小时后。我得到解决方案。 :) 我不得不添加senderEmail参数与付款人的电子邮件。而已。这样paypal让交易成为COMPLETED