Author Topic: Change invoice amount in paypal plugin  (Read 2247 times)

waynedejager

  • Beginner
  • *
  • Posts: 3
Change invoice amount in paypal plugin
« on: August 04, 2011, 13:59:06 pm »
Hi There - i am hoping for some help....

I have a site that is in South African Rands (ZAR) - i have a few payment plugins all fine. I have added a PAYPAL plugin , however paypal doesnt accept payment in ZAR - i also dont want to show my clients a dollar price when checking out and simply want the paypal plugin to convert the ZAR invoice amount to US$....

I have played around with some variables like this :-
"amount" => round( $db->f(("order_subtotal")+$tax_total-$discount_total)/7, 2), (note the divide by 7) i am not too worried about the exact exchange rate and 7 is fine - but i cannot get this to work (i am not using the correct coding and dont know how to do it)

Please can some sharp friend out there point me in the right direction and help with the correct code.
Much appreciated!!!

jameel

  • Beginner
  • *
  • Posts: 45
Re: Change invoice amount in paypal plugin
« Reply #1 on: September 15, 2011, 16:53:31 pm »
you need to convert ZAR into any supported currencies. here is one module that does all for you and you can set any currency from the list of 98 and set to any one supported by paypal.

http://www.itechshop.org/index.php?option=com_virtuemart&page=shop.product_details&flypage=flypage.tpl&product_id=19&vmcchk=1&Itemid=7

this module uses Google finance to converted paypal unsupported currencies into paypal supported
Virtuemart + Joomla extensions www.itechshop.org
get Paypal extended, payza extended, moneybookers extended module that let you use 98  currencies nonsupported paypal/alertpay/mb currencies on VM 1.1.x and convert them to supported one at www.itechshop.org

220+ domain extensions www.industechnologies.co