Any currency to Paypal Currency Convert
ragavendra_bn - February 11, 2009 - 22:46
| Project: | Ubercart |
| Version: | 6.x-2.0-beta3 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed |
Description
Hi Team,
We are in need for the module to convert almost any currency to the Paypal accepted currency. The site http://www.fashionjewelery.co.in displays currency in INR. When checkout using Paypal, the same INR value is sent to Paypal causing customers to pay almost 49 times(1USD~=49INR) more.

#1
Hmm... currency conversion isn't happening on the core level right now. Your best bet is to figure out how to work the the UC Multi Currency module. I don't believe it's designed for this specifically, but I do know that it must have an API for doing these sorts of conversions that should be reusable by your site.
I'm not going to mark this won't fix for now, but I am going to move it to postponed, as I don't see us doing anything to the PayPal module until the next version starts development.
#2
Nice to hear your reply rszrama......
Yep checking for the D6 release of the Multicurrency..............
If to late, ..........then may switch for prestashop.........
#3
subscribed.
#4
See below :)
#5
Hi rszrama,
With TRs, CpiLL and many other's help I was finally able to patch up uc_paypal.module to be able to accept any non-Paypal currency(INR in this case). I am grateful for their timely and needy assistance. This attachment is done on ubercart-6.x-2.0-beta4's module. Currency --> http://drupal.org/project/currency module is required to work.
For other than INR, replace INR in the module to your non-Paypal currency.
For Paypal registered under different currency, say you have registered for Canada Paypal, use CAD instead of USD.
NOTE: Tested only for Paypal WPS for 'single list items' and 'all items together'.
#6
I am new to drupal and so to ubercart and I have a design question linked to this original post (about the whole process)
I am working on the 6.x-2.0-rc7 version of Ubercart and I applied this hack to convert the amout sent to paypal from CNY to UD
Now, I wonder how I should manage the payment reception. The information sent back by paypal is in USD and my order is still in CNY.
The balance is computed with the total amount in RMB and the payment in USD, so e.g. for a total of 300 RMB (= 44 USD) the remaining balance is 300 - 44 = 256 RMB instead of 0
I am interrested in knowing how do you manage the order status and the payment reception / payment balance?
I tried to update the uc_paypal_ipn to convert the amout sent back by paypal, but:
1. I didn't succeed (the currency seems to be inaccessible (?))
2. I am not sure that it is the best way to do it. Actually, if I convert twice an amount, I am pretty sure that initial and final amout would be different (due to conversion rates and round).
If someone has some tips or soltutions to manage, please let me know.
For now I am thinking about a manual management of the status order and payment linked to paypal, but I am not sure that is the best way...
Thanks