使用 API 调用帐户作为接收者帐户 [英] Using API calling account as receiver account

查看:32
本文介绍了使用 API 调用帐户作为接收者帐户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用 是否可以在结帐时使用与辅助接收者相同的 API 调用帐户?

谢谢,任何建议将不胜感激.

解决方案

您可以使用 Chain Payments,其中 API 调用方电子邮件地址和辅助接收方电子邮件地址相同.您收到此错误 <代码>您正在登录此交易的 API 调用方的帐户.请更改您的登录信息并重试. 当您使用 api 调用者的电子邮件作为付款的发件人时.

receiverList.receiver(0).email = YYY@gmail.comreceiverList.receiver(0).amount = 5.00receiverList.receiver(0).primary = truereceiverList.receiver(1).email = XXX@gmail.com `这也可以是 api 调用者的电子邮件地址`receiverList.receiver(1).amount = 2.00receiverList.receiver(1).primary = false费用付款人 = EACHRECEIVER

I'm trying to integrate Paypal Adaptive checkout using Active Merchant and active_paypal_adaptive_payment gem. During User registration, User needs to register his/her paypal account in order to receive the payment during the transaction.

I've setup all the credentials for activemerchant. While registering user Account in paypal I got the following error.

You are logging into the account of the API caller of this transaction. Please change your login information and try again.

Is it possible to use same API calling account as secondary receiver during checkout?

Thank you, Any suggestion will be appreciated.

解决方案

You can use Chain Payments where the API caller email address and the secondary receiver email address are the same. You get this error You are logging into the account of the API caller of this transaction. Please change your login information and try again. when you are using the api caller's email as the sender of the payment.

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

这篇关于使用 API 调用帐户作为接收者帐户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆