使用API调用帐户作为接收者帐户 [英] Using API calling account as receiver account
问题描述
我正在尝试使用主动商家和
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.
我已经为activemerchant设置了所有凭据.在贝宝中注册用户帐户时,出现以下错误.
I've setup all the credentials for activemerchant. While registering user Account in paypal I got the following error.
您正在登录此API调用者的帐户 交易.请更改您的登录信息,然后重试.
You are logging into the account of the API caller of this transaction. Please change your login information and try again.
结帐期间是否可以使用与辅助接收者相同的API调用帐户?
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屋!