-
Notifications
You must be signed in to change notification settings - Fork 795
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
User is being asked to enter Apple ID twice during the purchase #407
Comments
Hi @natacodes, I have played a bit with this library these last days so I might be able to help. While on the Sandbox environment, a popup is prompted when you try to download the You also need to log in when making purchases on the sandbox environment. That explains the two login prompts. Now, before your print("Receipt file exists? \(FileManager.default.fileExists(atPath:
Bundle.main.appStoreReceiptURL!.path))") Once the purchase result is Note
|
hi please I have been unable to get this project to work kind view my issue and contribute to it please thanks. #412 |
I've commented on issue (#307) about this, I think it is not related to this library since it also happens on my other app with native StoreKit implementation. |
try to replace SwiftyStoreKit.verifyReceipt(using: appleValidator) with SwiftyStoreKit.verifyReceipt(using: appleValidator, forceRefresh: false) |
I have a similar issue, but it seems to only happen the first time a purchase is made with a brand new tester account.. The purchase looks like it goes thru, then it starts the billing flow payment sheet over again. The second time, it finished properly.. |
still not working, could be reproduced using only a brand new tester account for first time. Is this expected behavior? |
This is an apple bug. It happens on new tester account with plain StoreKit, no swifty involved.. there is a similar ticket explaining such.
… On Jan 5, 2022, at 10:10 AM, Jornathan Thorne ***@***.***> wrote:
try to replace SwiftyStoreKit.verifyReceipt(using: appleValidator) with SwiftyStoreKit.verifyReceipt(using: appleValidator, forceRefresh: false) this helps me)
still not working, could be reproduced using only a brand new tester account for first time. Is this expected behavior?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you commented.
|
Platform
In app purchase type
Environment
Version
0.13.3
Report
Issue summary
I'm using the following snippet for the subscription purchases:
Here I'm being asked for iTunes Store login twice. First when the purchase is being performed using
purchaseProduct
and second when I'm retrieving subscriptions from the receipts usingverifyReceipt
andverifySubscriptions
. It's going to be confusing for users to enter Apple ID twice. Has anyone else seen this behavior?The text was updated successfully, but these errors were encountered: