I integrate In-App purchase in my App, its working fine for purchase and restoring items. But one issue are there,
When I purchase the item using [email protected], its successfully purchase the item also restore working fine.
Now, I uninstalled apps from my device, also clear credential from iTunes & App Store. and again installed.
When I click on the restore button, then there are two Popup is display : one with [email protected] , and Second one is Exiting or Create user.
Whenever I come from background to foreground, the Sign-In popup is display every time.
NOTE : I HAVE ALSO Call finishTransaction method. But its not work for me.
No One method is Called when Sign-In PopUp display.
How could I resolve this?
Your iPhone says “Apple ID Sign In Requested” because someone (probably you) signed in with your Apple ID on a new device or web browser. When you turn on two-factor authentication, Apple sends a six-digit confirmation code to one of your other “trusted” devices to enter when trying to sign in with your Apple ID.
If you haven't received an in-app item you bought, try closing and restarting the app or game you're using. Tap Apps or Manage applications (depending on your device, this may be different). Tap the app you used to make your in-app purchase.
About Sign in with Apple When you see a Sign in with Apple button on a participating app or website, it means you can set up an account using your Apple ID. No need to use a social media account, fill out forms, or choose another new password.
As far as I know, this happens in two cases.
There is a pending transaction. If some purchase transaction haven't finished yet, iOS will try to proceed that transaction automatically.
Some of auto-renewable subscription should be renewed. iOS also automatically start a purchase transaction for auto-renewable transaction, if auto-renew setting is on and subscription is expired.
This is triggered when transaction observer is added to payment queue
[[SKPaymentQueue defaultQueue] addTransactionObserver: yourTransactionObserver];
In any case of them, you can put break point in your transaction observer
- (void)paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray *)transactions
and grasp which transaction is processing.
Basically, SKPaymentQueue has no function to cancel ongoing transaction by the app, so you owe to proceed that transaction.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With