In app billing code help

hello guys, I have been working on a new app that has in-app purchase.
on the home page, there is a button that when clicked it should ask you to pay to be able to access the next screen, I have this code written down and I was wondering if anyone can tell me if the code is right and if not how can I fix it.
thank you guys for your help

  1. Use After Purchase event block to check for purchases.
  2. Don’t call Load Owned Purchases block inside Got Owned Purchases, as it will call Got Owned Purchases event and thus the code will get into a loop.
1 Like

so it should look like this


and thanks alot bro

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.