-
Notifications
You must be signed in to change notification settings - Fork 798
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
Question on purchase response #32
Comments
Are you running on iOS or OS X? Could it be possible that you started the purchase, then closed or killed the app? It appears that if a purchase is started, the OS continues with the purchase even after the app is killed. I'm aware that this can cause confusion and to address this problem on version 0.2.8 I have added a new Could you please try version 0.2.8 (see the README and demo app for how to use this) and let me know if it works? |
Does this StackOverflow Q/A describe well the issue you're encountering? If so, could you try to follow the steps and let me know if it solves the problem? |
Hi, I started coding my own IAP but when I found yours totally like it and I ...
... And no, the app didn't close... but we have been doing so many tests with Thanks! On Mon, May 2, 2016 at 4:41 PM, Andrea Bizzotto [email protected]
|
Nop is not that case... I'll try to explain it step by step This is the code, I'll put fake number lines to explain: L1. NetworkActivityIndicatorManager.networkOperationStarted() L2. SwiftyStoreKit.purchaseProduct(productIDToBuy) { result in
L3. self.showAlert(self.alertForPurchaseResult(result))
L4. self.productPurchasedByID(productId)
Step 1- Start purchase Does it help? It's more clear? On Mon, May 2, 2016 at 4:59 PM, Andrea Bizzotto [email protected]
|
The issue you are describing seems very similar in nature to this: #30 |
I'm testing it, looks promising! I have 2 more questions after I finish with this one. Thanks! On Tue, May 3, 2016 at 11:43 AM, Andrea Bizzotto [email protected]
|
@psuarez did version 0.2.8 solve this in your implementation? |
Hi, Is there a way to have more visibility of what happens at production level Thanks! On Tue, May 24, 2016 at 3:31 PM, Andrea Bizzotto [email protected]
|
@psuarez Please take a look at the Currently SwiftyStoreKit only processes requests but doesn't have a way to track IAPs in more detail and I'm not sure I could come up with an unified set of rules for what needs to be tracked (different organisations may have different requirements). I would suggest you fork the project and add hooks as needed. Also it's possible that once a test plan is devised and implemented (see #38) we can have some more confidence that the library is doing the right thing - however I don't anticipate being able to look at this in detail any time soon (proposals and contributions would be welcome though). |
URLs are ok! Did you understood the problem with the fail-back mechanism? Off course if I found anything that could be added to the library I'll do On Wed, May 25, 2016 at 4:08 PM, Andrea Bizzotto [email protected]
|
I have the method callback :
But It keep display the prompt of password, while I am navigating inside the app, with out purchasing any product. I am using version 0.3.0 |
@psuarez Apologies for the very late reply. There have been some major improvements to the purchase flows recently. Could you update to the latest version and let me know if everything now works as expected? I will close this issue if there are no updates in the next few weeks. |
Hello,
I'm using 0.2.7 version
I'm experiencing the following problem: I got the Success response before I got the Store popups to do the purchase. Sometimes I got the Failed (Cannot connect to the App Store) and after that the Store popups to do the purchase appear.
Is there a way to control the flow of Store popups? or at least prevent them to appear in those situations?
The text was updated successfully, but these errors were encountered: