简体   繁体   中英

How to change currency in PayPal for 3rd-party shopping cart checkout?

I am using this PayPal payment method in my project and I facing one issue in currency.

I have followed this link steps( https://www.paypal.com/cgi-bin/webscr?cmd=p/pdn/howto_checkout-outside#methodone ) and integrated PayPal, all things working fine but the currency showing wrong on the checkout page but when going to the next page it is showing properly.

I want to change the currency text from USD to EUR on the checkout page. how it is possible.

Can any help with it?

here is code

<form action="https://www.paypal.com/cgi-bin/webscr" method="post" name="frmTransaction" id="frmTransaction">
    <input type="hidden" name="business" value="Email">
    <input type="hidden" name="cmd" value="_xclick">
    <input type="hidden" name="item_name" value="">
    <input type="hidden" name="shipping" value="0"/>
    <input type="hidden" name="item_number" value="">
    <input type="hidden" name="rm" value="2">
    <input type="hidden" name="amount" value="1">   
    <input type="hidden" name="currency_code" value="EUR"> 
    <input type="hidden" name="upload" value="1">  
    <input type="hidden" name="cancel_return" value="">
    <input type="hidden" name="return" value="">
    <input type="hidden" name="notify_url" value="">
</form>

在此处输入图像描述

1, Add EUR currency to your Paypal account using this link

like this screenshot在此处输入图像描述

OR

Go to > Account Settings > BUSINESS PROFILE > Money, banks and cards > Currency management

2, Remove these two elements from your form

<input type="hidden" name="rm" value="2">
<input type="hidden" name="upload" value="1">  

your final form code like below

 <form action="https://www.paypal.com/cgi-bin/webscr" method="post" name="frmTransaction" id="frmTransaction"> <input type="hidden" name="business" value="web91.siddharth@gmail.com"> <input type="hidden" name="cmd" value="_xclick"> <input type="hidden" name="item_name" value="Item Name"> <input type="hidden" name="shipping" value="1"/> <input type="hidden" name="item_number" value=""> <input type="hidden" name="amount" value="1"> <input type="hidden" name="currency_code" value="EUR"> <input type="hidden" name="cancel_return" value=""> <input type="hidden" name="return" value=""> <input type="hidden" name="notify_url" value=""> <input type="submit" value="Pay Now"> </form>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM