YoYoGames / GMEXT-GooglePlayBilling

Repository for GameMaker's GooglePlayBilling Extension
Other
6 stars 2 forks source link

How to check that a subscription is active or cancelled? #16

Closed Callsign54 closed 3 weeks ago

Callsign54 commented 3 weeks ago

Hello,

I hope this kind of question is allowed here, but I can't seem to understand the logic of how to confirm a valid subscription. I want to simply check and confirm that the subscription is either active or cancelled. I would then act accordingly.

Thanks for the help

jzavala-YYG commented 3 weeks ago

Hello @Callsign54

Take a look to to the project attached in the extension.

Put special attention to extension function _GPBillingQueryPurchasesAsync(), the async event _gpb_purchase_skutypeinapp and the project function updatePurchasesData().

Additional you can you can use see the SERVER VERIFICATION example attached in the _ObjGooglePlayBilling.

Regards