Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why In-App purchase sandbox always ask "Verification Required"?

I have signed out from the store in device settings. I entered user credentials only in my App. I have set up a brand new (actually around 4 times) test user.

Why this message keep poppin' up?

Is it something connected to iOS 5, automatic app sync, or iCloud?

like image 796
Geri Borbás Avatar asked Nov 07 '11 23:11

Geri Borbás


3 Answers

I had exactly same problem with sandbox in-app purchases, in built-in model (no receipt verification), app received valid products, now i called addPayment, everything alright. But now "Verification required" appeared and payment was canceled.

After hours of pain I discovered, my problem was in test account.. i created test account for Czech Republic iTunes store... and that was the reason of fail. Dumb. I tried to create Canadian test user and it suddenly worked! "Verification required" will no longer appeared.

like image 135
Petr Fiala Avatar answered Sep 22 '22 17:09

Petr Fiala


I've dealing with this problem for about one week, trying to use accounts in US/Canada without any success. Finally I found this post and it works: http://iphonedevsdk.com/forum/iphone-sdk-development/63008-in-app-purchase-test-account-verification-required-cant-get-passed.html You need a test account that NEVER has a credit card attached to it, NEVER is logged into itunes store or app store via device, and if you do login to itunes or agree to any app store stuff it voids the test account and will never work again.

So, To test your In App Purchase app, you need to use a new account that does not have a credit card. logout of the store, and only use your new account inside the app you are testing.

Update: After a long time system maintenance of iTunes in Sept 2013, only test accounts in US can make test purchases.

like image 32
LeonQiu Avatar answered Sep 23 '22 17:09

LeonQiu


I have struggled with this myself, i finally found a workaround that worked for me...

  1. On the device Log out of iTunes account in settings (also hard close settings and iTunes if you have them open as a precaution)
  2. Delete app
  3. Create a new test user at “itunesconnect.apple.com” – selecting the United States as your store
  4. Reinstall app
  5. Try to make a purchase in the app
  6. Enter you new test user account details
  7. If a pop up states that it needs to swap stores, immediately press home. DO NOT press OK.
  8. Relaunch the app, and try again. It should now work as expected.

Hope this works...

like image 21
Dave Avatar answered Sep 25 '22 17:09

Dave