退款状态NO_API_ACCESS_TO_RECEIVER,贝宝响应 [英] refund_status NO_API_ACCESS_TO_RECEIVER, paypal response

查看:74
本文介绍了退款状态NO_API_ACCESS_TO_RECEIVER,贝宝响应的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在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进行退款.

是否可以解决此错误?

非常感谢您!

推荐答案

好吧,问题是,要让接收者授予向API调用者退款的权限:

Ok the problem was, For a receiver to grant permission to refund to the API Caller:

登录www.paypal.com(对于沙盒:www.sandbox.paypal.com-确保您已经登录 https://developer.paypal.com ),然后使用接收者帐户登录.转到配置文件-> API访问->授予API权限->在第三方权限用户名"文本框中输入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,贝宝响应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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