Asset - Extension Easy IAP - IAPs made simple for iOS and Android

zbox

Member
GMC Elder
View on the Marketplace


*** Compatible with all GMS2 versions ***

IAPs have been complex with Gamemaker lately - until now! This asset will make its money back for you, headache free, in no time if you've ever tried implementing IAPs yourself with existing extensions alone. Feel free to view the manual, click here.

Setting up and using IAPs in your game is as simple as this:

Code:
// register the IAP products
gmiap_init();
gmiap_product_add(IAP_PLATFORM.ALL, "gems_small", true);
gmiap_product_add(IAP_PLATFORM.ALL, "gems_large", true);
gmiap_product_add(IAP_PLATFORM.ALL, "no_ads", false);
gmiap_product_finalise();

// purchase a product on-click
gmiap_product_purchase("gems_small");

// create a script called iapcallback_gems_small()
// which will be called when purchase is complete
global.coins_amount += 1000;
save_coins();
That's it! You have fully functioning, cross-platform IAPs set up without the huge hassle of implementing them directly.

The system also deals with weird edge case scenarios like game restarts, poor connections, slow credit cards, to ensure your users are delivered their purchases no matter what state the game is in.

Comes with more advanced features like easy custom IAP validation and non-consumable purchase tracking built-in.

Supports non-consumable and consumable IAPs on Android (Google Play) and iOS (App Store). Email support is available, get in touch!
 
Last edited:

YDKR

Member
Hi! Bought Easy IAP, but ran into a problem when loading into the google play console. Empty app loads. After adding all the necessary extensions when loading the app, the error "An unexpected error has occurred. Please try again. (527A7ABE)"

Screenshot_0.jpgScreenshot_1.jpgScreenshot_2.jpgScreenshot_3.jpg
 

zbox

Member
GMC Elder
Hi, that error is on Google's end unfortunately you will have to contact them to fix it.
 

zbox

Member
GMC Elder
Hi all, have you first uploaded a build with Google Play billing permission enabled? Check out the instructions in the manual which reference YYGs guide which should fix it up.

Let me know if you have done this and the issue still occurs.
 
got the same problem here,, i'll contact Google then ..
related to this error message : "An expected error has occured. Please try again. (random number)"

Google suggest me to clear the cache or waiting a few hours but

i fixed this by fill all the credential its needed, like everything in app content and setup > advanced settings section

and try to discard the drafts and make a new release, several times;
 
Hi all, have you first uploaded a build with Google Play billing permission enabled? Check out the instructions in the manual which reference YYGs guide which should fix it up.

Let me know if you have done this and the issue still occurs.
hi Taylor nice to meet you,

i've bought your assets "Easy iAPs" and try to implement it into my game,

i have set the google licensing and have already release internal testing,

also i've created in app products with product ID "removeads_" at google play console

so then what i have to do is :

1. add this into create event :
gmiap_product_add(IAP_PLATFORM.ALL, "removeads_", false);

2. make some button that execute :
gmiap_product_purchase("removeads_")

3. then make script named iapcallback_removeads_

is that correct?

big thanks
 
hi Taylor nice to meet you,

i've bought your assets "Easy iAPs" and try to implement it into my game,

i have set the google licensing and have already release internal testing,

also i've created in app products with product ID "removeads_" at google play console

so then what i have to do is :

1. add this into create event :
gmiap_product_add(IAP_PLATFORM.ALL, "removeads_", false);

2. make some button that execute :
gmiap_product_purchase("removeads_")

3. then make script named iapcallback_removeads_

is that correct?

big thanks
IMPLEMENTATION :

iapproblem.JPG

o_iAP create event :
gmiap_init();
gmiap_product_add(IAP_PLATFORM.ALL, "remove_ads", false);
gmiap_product_finalise();

o_iAP left released event :
scr_play_sound(snd_click);
gmiap_product_purchase("remove_ads");

script iapcallback_remove_ads :
function iapcallback_remove_ads() {
show_message_async("Ads no longer exist!");
global.no_ads = true;
}

RESULT :

############################################################################################
ERROR in
action number 1
of Mouse Event for Left Released
for object o_iAP:

Product does not exist: remove_ads
at gml_Script_gmiap_product_purchase (line 6) - show_error("Product does not exist: " + argument0, false);
############################################################################################
gml_Script_gmiap_product_purchase (line 6)
gml_Object_o_iAP_Mouse_7 (line 2) - gmiap_product_purchase("remove_ads");



what did i missed?
 

zbox

Member
GMC Elder
Hi there nice to meet you too!

You are running the test on your phone, correct? The products will not exist if you run it on windows or another unsupported platform.

Make sure to use the product_exists function to gracefully handle when the product does not exist.

Please feel free to contact me through the asset listing page - I'll be able to respond much quicker there!
 

YDKR

Member
Hi, thanks for the plugin and the help.
We have a new problem, google requires to switch to a new version of the API.
Do you have any plans to update the extension?
 

DigiChain

Member
Is this extension no longer supported? It hasn't been updated in quite some time.
I'm after an easy way to add iaps to my game (as I find this stuff quite taxing!) and this looks like a great extension if still supported.
 
Top