退款状态 NO_API_ACCESS_TO_RECEIVER,paypal 响应 [英] refund_status NO_API_ACCESS_TO_RECEIVER, paypal response
问题描述
我在 Rails 应用中使用这个 gem 进行支付:
I'm using this gem for payments in my rails app:
https://github.com/jpablobr/active_paypal_adaptive_payment
我无法退款,我在响应日志中收到下一条消息:
I can not make a refund, I get the next message in response log:
...refund_status="NO_API_ACCESS_TO_RECEIVER">]> response_envelope=#<Hashie::Rash ack="Success"....
我正在使用 pay_key
进行退款.
I am using the pay_key
for make a refund.
是否可以修复此错误?
非常感谢!
推荐答案
好的,问题是,对于接收者授予 API 调用者退款的权限:
Ok the problem was, For a receiver to grant permission to refund to the API Caller:
登录 www.paypal.com(对于 Sandbox:www.sandbox.paypal.com - 确保您已经登录 https://developer.paypal.com) 并使用收款人帐户登录.转到 Profile -> API Access -> Grant API Permission -> 在第三方权限用户名 textbos 中输入 API 调用者(例如:May6_1307031077_biz_api1.paypal.com),然后单击查找按钮 -> 启用为特定交易发放退款"复选框并单击添加按钮.
Login to www.paypal.com (For Sandbox: www.sandbox.paypal.com - Make sure you are already signed in https://developer.paypal.com) and login with the receiver account. Goto Profile -> API Access -> Grant API Permission -> Input the API Caller (Example: May6_1307031077_biz_api1.paypal.com) in Third Party Permission Username textbos and click Lookup button -> Enable checkbox for "Issue a refund for a specific transaction" and click Add button.
这是接收者如何向 API 调用者授予权限.
This is how receiver can grant permission to API Caller.
启用此功能后,退款应该有效.
Once this is enabled, the refund should work.
成立于 https://www.x.com/developers/paypal/forums/adaptive-payments-api/adaptive-refund-notprocessed
您可以在https://上看到www.x.com/devzone/articles/paypal-permissions-and-advantages-integrating-permissions-api 如果您需要使用 Api 实现此功能,您可以使用此 gem:
You can see on https://www.x.com/devzone/articles/paypal-permissions-and-advantages-integrating-permissions-api If you need make this feature with Api you can use this gem:
https://github.com/moshbit/paypal_permissions
非常感谢!
这篇关于退款状态 NO_API_ACCESS_TO_RECEIVER,paypal 响应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!