Sandbox app in purchase show different price iOS - ios

I configured the app in-app-purchase for the price in apple developer account 19.99 EURO
But in sandbox it shows the price 21.99 EURO, I found out 6 years ago there were similar bug reported by others, so any solution for this?

I got email from apple that they confirm this is a bug in sandbox environment. in production seems it works.

I saw the same problem but in subscription
In my case, on app store connect i had a starting price and the change price that i added after that.
For sandbox
In the product, i see the changed price but once i trigger a purchase i see the starting price in the app store action sheet.
It is a bug from apple side.

Related

In App Purchase subscriptions work for me in testing / Test Flight, but not for App Review team

I am dealing with a very frustrating App rejection. Apple has twice rejected my App with Guideline 2.1 - Performance - App Completeness. They're stating that the In App Purchase (an auto-renew subscription) is not unlocking the premium content after the purchase is made.
I have thoroughly tested this IAP on my end, on 3 devices, and 3 different TestFlight accounts. All tests worked flawlessly. I am unable to replicate the issue the Apple App review team is having.
The same IAP helper / receipt validation is also being used in another App of mine that has been working perfect for well over a year on the App Store.
I have ensured all product identifiers match up.
I have re-generated a Subscription Secret.
Is there anything I may be overlooking? What may cause the IAP to not unlock the content for JUST the App reviewer, and not any of my 6 unique devices that were tested and work perfect.
This has been resolved! My App was using expires_date in the receipt validation for the in-app subscription. It turns out, expires_date is bug-prone in certain configurations of devices (device / ios / locale). Because of this, the purchase was successfully finishing, but the premium content was remaining locked due to a misconfigured expiry date.
The solution was to use expires_date_ms instead of expires_date. It doesn't even look like expires_date is documented anymore on Apple's docs.
See: https://developer.apple.com/documentation/appstorereceipts/expires_date_ms
Hope this helps anybody running into issues of in-app purchase subscriptions not unlocking content!

Auto renewable subscription: introductory pricing causes "This item is currently being modified. Please try again later."

I have implemented an in-app purchase of auto renewable subscription in my iOS app. It is working fine, users can make purchases no worries.
The trouble is when I add introductory pricing to the product, when I try a test purchase I then get the error "This item is currently being modified. Please try again later."
I am testing through TestFlight beta testing as an internal tester, this method of testing works fine for regular priced products, but those with introductory pricing associated with them result in an error.
Has anyone come across a fix for this? Is it a known issue?
Other SO questions have suggested this can happen when Apple adjusts their pricing, however this has happened several months ago and again now, and I would assume regular pricing would be effected in that case.
Cheers

In-App product shows "pending" even after deduction of money

We have app which provides consumable In-app product to buy eBooks. We are following 2 issues as below:
Issue 1:
We have installed our latest app from appstore & trying to buy eBook, we don't have previously added Credt/Debit card in iPhone. While purchasing we have enterd those details. It redirects to Appstore/Settings, but not returned back to our app. And Money has been deducted but In-App not notified in App.
Issue 2:
Next time onwards, using same iphone & same apple id, We are getting " Product is already purchased." even thought it's consumable In-App.
While in Settings we can see our purchase in "Pending" status.
We tried to debug issue but all things are working perfect in Sandbox Environment.
Let us know is there any issue at apple end or we have done something wrong. We do have our app live on appstore since long, but we are facing this issue from 4-5 days only. Please help.
Thanks in Advance.

iOS In-App purchase works in development but not in production

I've just released my first app with iAP. It always worked fine in development, but in production it crashes when I try to make a purchase.
It seems like the app dosn't download my "product" in production mode. Have anyone else had similar problems, what did you do to fix it?
Recently I had submitted my app and it has a same issue. After spent some time on google I found that sometimes application available on store early and apple's production server takes time in updating products so wait for 24-36 hours. It will be automatically fixed.
Edit
Jagdeep has pointed towards a good point. Check status of your products it should be in "Approved" state. In my case it was in approved status.
When you have created product you have checked the option "Clear for Sale"?
From Documentation :
Clear for Sale indicates whether your In-App Purchase is cleared for sale or not. If this box is unchecked, your In-App Purchase will not be available for purchase from within the app. Note that if you set Cleared for Sale to No, all settings for the In-App Purchase will still be available to edit in iTunes Connect, and you can change Cleared for Sale to Yes at a later date.
It takes a little time even when everything is approved.
My binary was approved.
My In-App Purchase (IAP) was approved.
My In-App Purchase was Cleared For Sale.
Testing the purchase in development with a sandbox iTunes Account worked great.
Purchasing in production with a real or sandbox iTunes Account would fail.
I didn't have to wait long, something like a couple hours and it just started working.
Now, my binary and my In-App Purhcase were approved at the same time and almost immediately after they were both approved, I released the app version to the store.
I'm not positive, but what I probably should have done was wait a couple hours before releasing that new app version and give the In-App Purchase a chance to "register" or "propagate" in the Production App Store.
Just a recommendation for others.
Check your status in itunesConnect site -> Manage your purchase. Make sure your in-app-Purchase has been passed from review.

In-App Purchase not working in Apple Store but working in the sandbox

I am developing an iOS application with In-App Purchase (IAP). I have tested the IAP (in the sandbox environment) and it's working fine. Apple accepted the application and my IAP is ready for sale. But when users download the application and try to buy, they receive the alert the product is not yet available.
For information, I have two Apple accounts, one for the client and one for me. I have added the same productID in the two accounts. In my account it's just for testing and I have used the same productID for the release of the application with the client's account.
Do you think that the use of the same productID can cause this error in the Apple store?
Finally it was a Bug from the Apple Store, after waiting (6 days) it's OK.
how long did you wait after approval? My experience is that 4-hour of waiting, check it out here --- plus you can go thru a few things in the link to see if any of that was not properly set for your app.
IAP fails after release, but no in development stage

Resources