-
Notifications
You must be signed in to change notification settings - Fork 92
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
Receipt returned by apple is different format #10
Comments
Also I noticed another iap project using this in_app property. |
Wow, that's really weird. But I appreciate the PR! :) |
I get response like this
so weird, transactionId: undefined, productId: undefined What I miss? |
because the weird ( not like as document) format response
|
That PR is still open, with unaddressed comments. An update to it would be most appreciated. |
why the response is different? |
@nvcken @silenceper see my answer here: Also, check out #24 as this should resolve some of our issues --hopefully. |
@ronkorving I believe this can be closed due to the merge of #24 |
@sambauwens Please reopen if there's still an issue. |
Hi!
While using your library I couldn't validate purchases, so I dug in the code and noticed that the receipt contained in the response from apple verification url isn't the one expected by the library.
-the bundle id is in receipt.bundle_id property instead of receipt.bid
-transaction_id and product_id are contained in receipt.in_app[0] instead of directly in the receipt.
I don't know why these values where located at different places for me, so I changed the code to test and made it work now.
I'll make a pull request to show you what I did and you can include it in the project if you want.
The text was updated successfully, but these errors were encountered: