Australian Currency in Ecart 5!
I can not specify Australian dollars symbol in the custom currency field. I type $AUD in the field and it came up with error!
Anyone having the same problem!
Regards,
Eric
I can not specify Australian dollars symbol in the custom currency field. I type $AUD in the field and it came up with error!
Anyone having the same problem!
Regards,
Eric
in the eCart object enter the currency symbol using a forward slash to escape the dollar symbol:
\$AUD
The back and forward do not work on Ecart Object on Australia dollar. I have tried to pur $/AUD and \$AUD it came up with this: /20 and \20. Everythign is workind perfectly except the Australia dollar symbol. Is there any way to edit in the code?
Below is the error:
Notice: Undefined variable: AUD in C:\wamp\www\Ramelau\WA_eCart\pbook_PHP.php on line 250
Regards,
Eric
it worked on my system when i used:
\$AUD
can you send a copy of the WA_eCart\pbook_PHP.php file so i can have a look at the code.
Please find attached is the code! On the PayPal payment window still $26.00 USD. On the cart.php and confirm.php came up with \20 and \26 with the following error:
Notice: Undefined variable: AUD in C:\wamp\www\Ramelau\WA_eCart\pbook_PHP.php on line 250
Call Stack
# Time Memory Function Location
1 0.0021 537224 {main}( ) ..\confirm.php:0
2 0.0037 685752 require_once( 'C:\wamp\www\Ramelau\WA_eCart\pbook_PHP.php' ) ..\confirm.php:3
Notice: Undefined variable: AUD in C:\wamp\www\Ramelau\WA_eCart\pbook_PHP.php on line 250
Call Stack
# Time Memory Function Location
1 0.0008 386824 {main}( ) ..\phrasedbook.php:0
2 0.0032 535352 require_once( 'C:\wamp\www\Ramelau\WA_eCart\pbook_PHP.php' ) ..\phrasedbook.php:3
change line 250:
$pbook = new pbook_Definition("pbook", 0, "\\$AUD", "", true, 2, 0, "oz", true, 2, 1, 0);
to:
$pbook = new pbook_Definition("pbook", 0, "\$AUD", "", true, 2, 0, "oz", true, 2, 1, 0);
to change the currency code sent to payapl, you will need to edit the code that sends the transaction to them.
if you are using paypal payments pro, the confirm page will have this code:
$PP_PayPro_optional[0][$nextIndex] = "CURRENCY";
$PP_PayPro_optional[1][$nextIndex] = "USD";
change it to:
$PP_PayPro_optional[0][$nextIndex] = "CURRENCY";
$PP_PayPro_optional[1][$nextIndex] = "AUD";
if it is paypal standard, change:
<input type="hidden" name="currency_code" id="currency_code" value="USD" />
to:
<input type="hidden" name="currency_code" id="currency_code" value="USD" />
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.