【发布时间】: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