gpt4 book ai didi

使用不同/多种货币的 Paypal 并行付款

转载 作者:太空宇宙 更新时间:2023-11-03 15:56:24 25 4
gpt4 key购买 nike

我已经在网上搜索了可能的解决方案,并最终决定亲自向你们寻求帮助。

我正在设置并行支付,商家可以使用不同的货币。在我的示例中,应该支持两种货币:USD 和 PHP(菲律宾比索)。这是我的请求参数:

--------------------------------------------------

[METHOD] => SetExpressCheckout
[VERSION] => 98.0
[USER] => ******************
[PWD] => *******************
[SIGNATURE] => *********************************************
[RETURNURL] => http://somewhere.com
[CANCELURL] => http://somewhere.com

[PAYMENTREQUEST_0_AMT] => 1319.64
[PAYMENTREQUEST_0_ITEMAMT] => 1319.64
[PAYMENTREQUEST_0_CURRENCYCODE] => PHP
[PAYMENTREQUEST_0_SELLERPAYPALACCOUNTID] => kyledomingo@gmail.com
[PAYMENTREQUEST_0_PAYMENTREQUESTID] => CHANGETHISREQUESTID-0
[PAYMENTREQUEST_0_PAYMENTACTION] => Order

[PAYMENTREQUEST_1_AMT] => 28
[PAYMENTREQUEST_1_ITEMAMT] => 28
[PAYMENTREQUEST_1_CURRENCYCODE] => USD
[PAYMENTREQUEST_1_SELLERPAYPALACCOUNTID] => kyledomingo@gmail.com
[PAYMENTREQUEST_1_PAYMENTREQUESTID] => CHANGETHISREQUESTID-1
[PAYMENTREQUEST_1_PAYMENTACTION] => Order

--------------------------------------------------

如果您注意到,第一个付款请求使用 PHP,而第二个使用美元。从语义上看,这看起来不错,但是当我尝试调用 SetExpressCheckout 时,它会抛出错误 10444 - The transaction currency specified must be the same as previously specified

--------------------------------------------------

[TIMESTAMP] => 2013-05-23T02:21:35Z
[CORRELATIONID] => 81e18fe68af6a
[ACK] => Failure
[VERSION] => 98.0
[BUILD] => 6020375
[L_ERRORCODE0] => 10444
[L_SHORTMESSAGE0] => Invalid Data
[L_LONGMESSAGE0] => The transaction currency specified must be the same as previously specified.
[L_SEVERITYCODE0] => Error

--------------------------------------------------

任何指示如何使这项工作?我已经浏览了很多论坛,包括 x.com 和 stackoverflow,但似乎没有任何结果。

类似的问题在 Paypal Parallel Payment with Multiple Currencies但仍未得到答复。

任何帮助都会很棒。谢谢!

最佳答案

当在一笔交易中传递多笔付款时,所有付款都必须具有相同的货币代码。

关于使用不同/多种货币的 Paypal 并行付款,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16704777/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com