Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Newbie Question #21

Open
mycob opened this issue Apr 24, 2018 · 1 comment
Open

Newbie Question #21

mycob opened this issue Apr 24, 2018 · 1 comment

Comments

@mycob
Copy link

mycob commented Apr 24, 2018

I'm thrown off by this line of code

const production = false; // use sandbox or production url for validation

I'm not planning on using server urls for validation nor do I even know how to do it...
I simply want to validate through the app as it loads...does this mean I just leave this at "false" through production? Forgive me for my ignorance, but this is my first implementation of IAP.

Using InAppUtils and this validator, everything is working as intended in Beta Testing with sandboxed accounts and with real accounts (Beta Testers). Is this all I need? Do I need to make any modifications to the code prior to production build and review submission?

Thank you in advance.

@akshetpandey
Copy link

You have to use the server to verify iaps... that just how it works. You will have to set it to production=true otherwise real transactions won't be validated. Using sandbox url only works with sandbox iap receipts...

@mycob mycob closed this as completed Apr 30, 2018
@mycob mycob reopened this Apr 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants