Originally Posted by
dw08gm
Hi Frank
What does one do when the store is denominated in AUD.
I want to set my limit to $500AUD.
Thanks in advance.
You could set the lines as in post #4 to something like this:
Code:
// PayPal module cannot be used for purchase > $10,000 USD or 5500 GBP
if ( ($_SESSION['currency'] == 'USD' && $currencies->value($_SESSION['cart']->total, true, 'USD') > 10000)
|| ($_SESSION['currency'] == 'AUD' && $currencies->value($_SESSION['cart']->total, true, 'AUD') > 500)
|| ($_SESSION['currency'] == 'GBP' && $currencies->value($_SESSION['cart']->total, true, 'GBP') > 5500) ) {
$paypalec_enabled = false;
}
Bookmarks