BuyVirtualGoodsRequest fails with "currencyShortCode": "NOT_AVAILABLE"
D
Daniel Cordova
started a topic
about 3 years ago
As the title says I can't make a purchase because it fails with "NOT_AVAILABLE". I don't see that error code in the method documentation, what could I be doing wrong?
Best Answer
C
Customer Support
said
about 3 years ago
Hi Daniel,
This error would suggest that you are attempting to purchase the good with a currency type that doesn't exist in your game config. Could you check the currency short code you are sending with the request and make sure you have a corresponding currency with the same short code in Configurator->Currencies.
This error would suggest that you are attempting to purchase the good with a currency type that doesn't exist in your game config. Could you check the currency short code you are sending with the request and make sure you have a corresponding currency with the same short code in Configurator->Currencies.
Regards,
Vinnie
D
Daniel Cordova
said
about 3 years ago
Hi!
This is the currency I created
And this is the code in Unity i'm using to try the purchase
According to the documentation this isn't a lack of currency error, so i don't know what i'm missing
Customer Support
said
about 3 years ago
Have you changed the currency shortCode since setting up your virtual good? Could you try removing and re-adding the 'cash' cost on your good and see if you're getting the same error?
Regards,
Vinnie
D
Daniel Cordova
said
about 3 years ago
I re-added the cost and it worked! Thank you very much
Daniel Cordova
As the title says I can't make a purchase because it fails with "NOT_AVAILABLE". I don't see that error code in the method documentation, what could I be doing wrong?
Hi Daniel,
This error would suggest that you are attempting to purchase the good with a currency type that doesn't exist in your game config. Could you check the currency short code you are sending with the request and make sure you have a corresponding currency with the same short code in Configurator->Currencies.
Regards,
Vinnie
- Oldest First
- Popular
- Newest First
Sorted by PopularCustomer Support
Hi Daniel,
This error would suggest that you are attempting to purchase the good with a currency type that doesn't exist in your game config. Could you check the currency short code you are sending with the request and make sure you have a corresponding currency with the same short code in Configurator->Currencies.
Regards,
Vinnie
Daniel Cordova
Hi!
This is the currency I created
And this is the code in Unity i'm using to try the purchase
According to the documentation this isn't a lack of currency error, so i don't know what i'm missing
Customer Support
Have you changed the currency shortCode since setting up your virtual good? Could you try removing and re-adding the 'cash' cost on your good and see if you're getting the same error?
Regards,
Vinnie
Daniel Cordova
I re-added the cost and it worked! Thank you very much
-
Documentation Notes
-
Design issues with user events
-
Using NoSQL
-
Runtime Collections vs Metadata Collections
-
Anonymous authentication from browser app
-
Modules
-
Movement With Unity
-
Problem with url parameters for downloadables
-
Querying NoSql GameSparks database
-
Challenge accesType
See all 2486 topics