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

In-App-Purchase compatibility (PFPurchase) #2866

Closed
UnlikelySassou opened this issue Oct 13, 2016 · 14 comments
Closed

In-App-Purchase compatibility (PFPurchase) #2866

UnlikelySassou opened this issue Oct 13, 2016 · 14 comments

Comments

@UnlikelySassou
Copy link

From the Compatibility with Hosted Parse page, In-App Purchase is not supported, but I found some merged PR about it.

I have an iOS app that makes consummable and non-consumable purchases using [PFPurchase buyProduct:] and restores via [PFPurchase restore].

Are these features supported by Parse Server?

@hramos
Copy link
Contributor

hramos commented Oct 14, 2016

I suggest pinging the author of the PR to make sure they update the docs as well if needed.

@hramos hramos closed this as completed Oct 14, 2016
@UnlikelySassou
Copy link
Author

@flovilmart Hi, any chance you can confirm this please? The PR is #515

@flovilmart
Copy link
Contributor

I implemented that PR a while ago to the best of my knowledge and apple documentation about IAP purchase validation. You should probably try with sandboxed IAP's and make sure the product validation is working as expected.

@UnlikelySassou
Copy link
Author

Great, I'll give it a try next week. Thank you for the reply

@LaChrome
Copy link

LaChrome commented Nov 29, 2016

I gave PFPurchase on iOS a try with both a standard IAP and a auto-renewable IAP and set all the required fields in the Product table.

When executing the "downloadAssetForTransaction", the iOS SDK spits out the error
[Error]: The receipt is invalid. (Code: 144, Version: 1.14.2)

I get the same error for a standard IAP, and also subscription.

Thanks

Chris

@flovilmart
Copy link
Contributor

can you run with VERBOSE=1 to have more logs understanding why the receipt is not valid?

@LaChrome
Copy link

yep - I will try that today, and will let you know how it goes. Thanks

@Cliffordwh
Copy link

is there any documentation on PFPurchase? and the implementation?

@Cliffordwh
Copy link

Can confirm that standard IAP works! I managed to get this all working. ( Sandbox )

@flovilmart
Copy link
Contributor

So the auto renewable IAP is not working right?

@Cliffordwh
Copy link

Cliffordwh commented Nov 30, 2016

Haven't tested, Will do that shortly! I thought id first draft some documentation from start to end on the implementation for swift3. Could we then use that on the wiki?

@flovilmart
Copy link
Contributor

Probably on the docs repo would be better. We're moving the docs there so the wiki holds implementation details, guidelines etc...

@Cliffordwh
Copy link

Thanks!

@flovilmart
Copy link
Contributor

here: https://github.com/parseplatform/docs

That's in markdown, so very easy :)

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

5 participants