当前位置: 动力学知识库 > 问答 > 编程问答 >

express checkout - PayPal ExpressCheckout API : Get transaction total in local currency

问题描述:

Is there a way of getting the total for the transaction (or better yet, split between shipping, subtotal etc.) in merchant's local currency using the ExpressCheckout API - even though the transaction has been done using different currency code?

Example would be someone who has selected USD on the website to display prices in and paid using USD when redirected to PayPal, but the business (merchange) who receives the funds is based in UK and his default currency is GBP.

Is there a way to get the sub-totals in GBP using ExpressCheckout API? I couldn't find anything within the GetExpressCheckoutDetails and DoExpressCheckoutPayment calls - so not quite sure it's possible at all.

网友答案:

To my knowledge, GetExpressCheckoutDetails will not allow you to return specific currencies, but you could use the ConvertCurrency API to convert the value returned by GECD to what you need.

分享给朋友:
您可能感兴趣的文章:
随机阅读: