X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   X-Payments issues & questions (https://forum.x-cart.com/forumdisplay.php?f=50)
-   -   Serbian Dollar is the only currency (https://forum.x-cart.com/showthread.php?t=64159)

beetlejuice 07-02-2012 12:46 AM

Serbian Dollar is the only currency
 
Hi,

I've just setup XPayments on my server assigned to a new account with it's own SSL.

Imported my existing payment gateway all cool. But on the XPayments configuration page in the Payment Currency field it only shows Serbian Dinar. Doing a live test I get a internal error message but that's all .The API error log says

Zone: Controller/Api
Code: CURRENCY_UNALLOWED (504)
Specified currency "RSD" is not allowed for payment configuration "1"

There is no option to change the currency to AUD as Serbian is the only one in the field.

Anyone else seen/had this issue

Thanks

joss 07-02-2012 12:50 AM

Re: Serbian Dollar is the only currency
 
Try to add the AUD currency via the following SQL query:

---------
INSERT INTO xcart_currencies VALUES ('AUD',36,'Australian Dollar','$');
---------

It can be executed in X-Cart admin backend as a SQL patch: http://help.x-cart.com/index.php?title=X-Cart:Applying_Patches#Applying_SQL_Patches

beetlejuice 07-02-2012 12:56 AM

Re: Serbian Dollar is the only currency
 
Thanks Joss

Why wouldn't all languages have been in the original install? I mean my XCart store has been running with AUD since 2006?

ADDISON 07-02-2012 01:05 AM

Re: Serbian Dollar is the only currency
 
Please read this thread: http://forum.x-cart.com/showthread.php?t=46194

You are not allowed to change AUD to RSD, it is not so simple. There are more information to change than 3 letters.

beetlejuice 07-02-2012 01:19 AM

Re: Serbian Dollar is the only currency
 
Quote:

Originally Posted by ADDISON
Please read this thread: http://forum.x-cart.com/showthread.php?t=46194

You are not allowed to change AUD to RSD, it is not so simple. There are more information to change than 3 letters.


Hi Addison

I didn't want to change AUD to RSD, the problem was in XPayments that the only currency showing was Serbian Dinar. As my business is in Australia I needed to have AUD as an option in the drop down box for XPayments module, otherwise the posted earlier Internal Errors etc were reported.
My XCart settings already had the AUD selected as I've been trading for many years but this didn't seem to carry over when XPayments was enabled in my cart.

Joss's fix worked fine and I've been able to process payments fine since.

Thanks for your reply.


All times are GMT -8. The time now is 06:50 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.