Jump to content

Prestashop 1.5.6.0 and Paypal 1.3.4 Currency Conversion


oskjna

Recommended Posts

Alright so I even tried a rudimentary approach by editing the standard.tpl file directly

To turn my currency into dollar amount a basic mathematical approach to divide the final value by currency rate.

 

{math equation="(x/y)" x=$cart->getOrderTotal(true) y=0.278="$final"}
{include file="modules/paypalusa/views/templates/hook/standard.tpl" value=$final}

 

<input type="hidden" name="amount" value="{$cart->getOrderTotal(true)|floatval}" />

and even to

<input type="hidden" name="amount" value="{($cart->getOrderTotal(true)|floatval} / x) x=0.28}" />

This too didnot work any suggestions?

Edited by oskjna (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...