【问题标题】:After payment success, amount is not reflecting in sand box (adaptive parallel payment)支付成功后,沙盒中不反映金额(自适应并行支付)
【发布时间】:2015-10-01 08:35:41
【问题描述】:

我在 ruby​​ on rails 中使用这个 gem '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="jaskaran@yopmail.com", @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="user4paypal@yopmail.com", @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吗?

【问题讨论】:

    标签: ruby-on-rails paypal gem paypal-adaptive-payments


    【解决方案1】:

    哦,经过 3 个小时的搜索。我得到了解决方案。 :) 我必须在付款人电子邮件中添加senderEmail 参数。而已。这样paypal就让交易为COMPLETED

    【讨论】:

      猜你喜欢
      • 2015-03-08
      • 2013-10-25
      • 1970-01-01
      • 2018-07-31
      • 2012-04-22
      • 2014-09-10
      • 2017-08-16
      • 2015-07-11
      • 2011-10-10
      相关资源
      最近更新 更多