【问题标题】:Using API calling account as receiver account使用 API 调用账号作为接收方账号
【发布时间】:2016-03-19 16:21:34
【问题描述】:

我正在尝试使用 Active Merchantactive_paypal_adaptive_payment gem 集成 Paypal Adaptive checkout。 在用户注册期间,用户需要注册他/她的贝宝账户才能在交易期间收到付款。

我已经为 activemerchant 设置了所有凭据。在贝宝中注册用户帐户时,出现以下错误。

您正在登录此 API 调用者的帐户 交易。请更改您的登录信息,然后重试。

结帐时是否可以使用相同的 API 调用帐户作为辅助接收方?

谢谢,如有任何建议,我们将不胜感激。

【问题讨论】:

  • 回复你太晚了,但我对 PayPal 的了解仅限于 REST API 是非常真实的。

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


【解决方案1】:

您可以使用Chain Payments,其中 API 调用者电子邮件地址和辅助接收者电子邮件地址相同。当您使用 api 调用者的电子邮件作为付款发件人时,您会收到此错误 You are logging into the account of the API caller of this transaction. Please change your login information and try again.

receiverList.receiver(0).email = YYY@gmail.com
receiverList.receiver(0).amount = 5.00
receiverList.receiver(0).primary = true
receiverList.receiver(1).email = XXX@gmail.com `this can be the api caller's email address as well`
receiverList.receiver(1).amount = 2.00
receiverList.receiver(1).primary = false
feesPayer = EACHRECEIVER

【讨论】:

  • 我正在进行链式付款。但我已经连接到 paypal 按钮,该按钮重定向到 Paypal 并返回电子邮件地址,我将使用此电子邮件发送金额。我在上面提到的问题是在登录 Paypal 时。连锁支付运作良好。
  • 我的日志中没有任何相关 ID,因为它出现在 Paypal 页面中。
  • api调用者的email地址和结帐页面使用的email地址是什么,显示api请求和响应
  • API 用户名:vikas-facilitator_api1.esignature.com.np 结帐电子邮件为vikas-facilitator@esignature.com.np
  • 结帐电子邮件 vikas-facilitator@esignature.com.np 是付款的发送者,而不是接收者
猜你喜欢
  • 2014-02-11
  • 2018-07-29
  • 1970-01-01
  • 2018-09-17
  • 1970-01-01
  • 1970-01-01
  • 2022-11-16
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多