PayPal Rest API捕获AUTHORIZATION_AMOUNT_LIMIT_EXCEEDED [英] PayPal Rest API Capture AUTHORIZATION_AMOUNT_LIMIT_EXCEEDED

查看:101
本文介绍了PayPal Rest API捕获AUTHORIZATION_AMOUNT_LIMIT_EXCEEDED的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于Express结帐,当我使用intent = authorize创建付款时. 在计算运费和税金之后,如果运费+税金大于原始付款金额的15%,我将收到错误"AUTHORIZATION_AMOUNT_LIMIT_EXCEEDED". 运费+税超过原始总额的15%是非常常见的,尤其是对于小件和重型物品.解决该问题的方法是什么? 谢谢,

For Express checkout, when I create a payment with intent=authorize. after calculate shipping and tax, if the shipping + tax is greater than 15% of the original payment amount I got the error "AUTHORIZATION_AMOUNT_LIMIT_EXCEEDED". It is very common that shipping + tax exceeds 15% of the original total especially for smaller and heavy items. What will be the way to go around it? thanks,

其他信息: 当我查看传统的PayPal Express Checkout的第一步时,不需要设置任何金额即可登录PayPal来检索送货地址,我们如何使用REST API做到这一点?

Additional info: when I look at classic PayPal express checkout's first step, It's not required to set any amount to log in to PayPal in order to retrieve shipping address, how do we do this with REST API?

https://developer.paypal.com /docs/classic/express-checkout/integration-guide/ECGettingStarted/#id084RM05055Z

推荐答案

您可以考虑

That you may consider the PayPal InstantUpdate API, which allows you to update the tax & shipping calculation on the PayPal order review page (with AJAX).

或者,通常的做法是在您的付款请求API调用之前,在您的网站结帐流程中进行计算(当客户填写送货地址并选择送货方式时),将准确的金额提交给PayPal,然后进行重定向.

Or alternatively, the common practice is to make the calculation before your payment request API call, on your website checkout flow (when customer fills in the shipping address and select shipping method), submit the precise amount to PayPal and then make the redirection.

这篇关于PayPal Rest API捕获AUTHORIZATION_AMOUNT_LIMIT_EXCEEDED的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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