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

noAutoFinish: "finish" callback is called when a purchase failed #50

Closed
j3k0 opened this issue Aug 11, 2014 · 0 comments
Closed

noAutoFinish: "finish" callback is called when a purchase failed #50

j3k0 opened this issue Aug 11, 2014 · 0 comments

Comments

@j3k0
Copy link
Owner

j3k0 commented Aug 11, 2014

@maxmoore14 : do you remember if it necessary to call StoreKit's finish on a failed transaction?

https://github.com/j3k0/PhoneGap-InAppPurchase-iOS/blob/master/src/ios/InAppPurchase.m#L403-L407

Anyway, I don't think user side's finish() callback should be called in that case, or maybe with a error code as a parameter. The behavior is especially weird when storekit.purchase() is called again by the user on a product with non-finished transaction in progress: this results in a failed transaction and user code's finish() callback called directly... Could be mind-bugging ;)

Any thoughts?

@j3k0 j3k0 closed this as completed May 15, 2016
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

1 participant