InAppPurchase fails SKErrorPaymentCancelled "Cannot conn...to iTunes Store"

Hi.
I noticed today, that my In App Purchase was not working. I am using a test account and everyhing was working until now (our app is already live since june and the real in app purchase works), but today I wanted to make a test purchase with the same product and test user that I always used and now it's not working.
The problem is as follows:
1. I start the in app purchase.
2. Confirm the purchase and sign in with the test user.
3. Because this is a non-consumable product the App Store notifies me, that I have already purchased this but it hasn't been downloaded.
4. Press OK.
5. Up until now the transaction observer got a transaction with the transactionState SKPaymentTransactionStatePurchased and the user got his/her in app feature.
6. But now the transactionState is SKPaymentTransactionStateFailed with the error:
Error Domain=SKErrorDomain Code=2 UserInfo=0x2debe0 "Cannot connect to iTunes Store"
Code=2 means SKErrorPaymentCancelled. ***? This should happen if the user canceled the transaction, not in a real error. This is very misleading. I am not supposed to show this as an error because most of the time this is called if a user really cancels his/her purchase and there is no way to determine whether this error was caused by the user or by the App Store.
Everything is set up correctly, as I mentioned the in app purchase testing worked and I get the products as valid. Also I didn't change the code handling the in app purchase.
The error must be somewhere on the App Store side.
Does anyone else had this problem?
Thank you.

I have exactly the same problem! After this has happened once, the test user account becomes "jammed" so that every purchase gives a dialog:
"You have already purchased this product... Tap OK to download it now"
This message shoud never appear because my in-app purchase is subscription type product. There seems to be something totally weird going on in in-app purchases.

Similar Messages

  • TS1424 cannot connect to itunes store

    As of this morning (Thursday, November 15, 2012), neither my iPhone4S nor my iPad2 (both running latest OS scrupulously maintained) can connect to the iTunes store. They were able to download updates yesterday. I'm not sure I understand how they may detect that updates are available without being to connect. Nor do I understand how they may be able to display "purchased apps which are not downloaded", featured apps, and all the rest. Attempted download of updates fails with "Cannot connect to iTunes store." The "help" files on the Apple website are particularly not helpful on this issue. The devices are fully functional, including having access to the internet and being fully powered, in all other respects. I'm at a loss for a solution.

    I tried on my MBP and got a 500. This is a "server error", not client side. So it really irks me that Apple nowhere in the help files (that I saw) mentions the "remote" possibility that it's the fault of *their* server(s) instead of the client machine. I reckon I'll sit tight and try again later.

  • Cannot connect to iTunes Store and purchase failed.. As alrdy iTunes took from my credit card 5 US dollars as I was tried 5 times...

    Hello,
    Was trying to purchase from Supercell as I am playing clash of clans. It used to work perfect before but I updated ISO, didn't work anymore and all the time tells failed to purchase. And it says cannot connect to iTunes Store.
    The problem is the iTunes cut from my credit everything I apply to buy from that game and failed to buy what I want to get.
    I am using I pad 2.
    Waiting your feed back regarding this issue.
    I sent an email to support and am still wait for them reply.
    Thanks

    How long ago did you contact iTunes Support ? If it's been longer than 48 hours, and you've checked the spam folder on your email account as well as the inbox, then contact them again : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption.
    The $1 'charges' are likely to be temporary store holding charges, they should disappear off your account within a few days or so.
    Store holding charge : http://support.apple.com/kb/HT3702

  • TS1368 I cannot connect to iTunes store using iTunes. 'Secure link to iTunes store failed'. Please help!

    I cannot connect to iTunes store using iTunes. I have version 11.0.2.26 on Win 7 pc. I have had no problems until recently. Can't say exactly the problem began as I don't normally use my computer to access the store but my last successful access according to iTunes diagnostics was 28th Feb 2013 (if thats useful?!)
    I've run the Network Connectivity Test in iTunes diagnostics and I got the following results:
    - Network interfaces verified.
    -Internet connection verified.
    -Secure link to iTunes failed.
    When I click the help button next to the 'Secure link to iTunes failed' message I get the following:
              ''iTunes Help is unavailable because your computer isn't connected to the internet.'
    My pc is connected to the internet. I've checked firewalls. Windows firewall is off. I'm running AVG internet security 2013. Iv've checked the firewall settings on that and iTunes is not being blocked.
    Getting kinda frustrated. Can anybody help please???

    I seem to have tracked down the problem. AVG Family Safety software was causing the issue somehow. I have uninstalled it and iTunes now working. I will contact AVG for a solution as I now have no way of blocking certain sites.

  • I was doing an in-app purchase and it said contact apple support then another one said purchase failed cannot connect to itunes store, how do i fix it?

    i was doing an in-app puchase and it said to contact apple support and another said purchased failed cannot connect to itunes store, how do i fix it?

    Contact iTunes Support like the message said
    Apple - Support - iTunes - Contact Us
    Also
    Can't connect to the iTunes Store

  • In App Purchase Error, ( Transaction Failed Cannot connect to iTunes Store)

    O.k. on my iPhone when I'm in an app I tried to purchase something and it won't let me by saying, Transaction Failed, Cannot Connect to iTunes Store.. But I'm able to use the same app on my iPod touch and I can purchase what I needed.... So can somebody help me figure out what the reason is behind it? Both the iPhone and the Ipod has the same account information and both uses the same computer to connect to iTunes.... So why does one work and the other doesn't? Also its an iPhone 3Gs...

    Although you may be using the same iTunes Account, things can get a little strange if you have different AppleID's for each device. On your device, check settings ==> Store. The AppleID for that device is listed there. It can be confusing because syncing to the same iTunes account is not the same as managing App and purchases through the iTunes Store Account.
    On your iTunes window the uppe right corner shows which AppleStore ID is logged in. If it turns out they are different, simply log out of the store on iTunes, and log in with the other account. Download the updates. Log out and then back in to the other account.
    As an alternative, download the updates on the device they were purchased. Sync to iTunes, and the updated download be transferred back to iTunes and available to the other devices syncing with iTunes.
    Or....... if your iPhone is Airplane Mode, turn that Airplane mode off and ignore everything from above.

  • In a game i'd like to make an in-app purchase but everytime i select the purchase i'd like it says "Purchase fail cannot connect to Itunes store". I am logged into my itunes store what do i do?

    In a game i'd like to make an in-app purchase but everytime i select the purchase i'd like it says "Purchase fail cannot connect to Itunes store". I am logged into my itunes store what do i do?

    Just make sure if it wifi is connected. if this doesn't work reboot your iPhone. If it's still doesn't work contact the game service center or something. lastly, make sure u have your credit card sign in. hope this help.

  • IPod Touch 4G - Cannot Connect to iTunes Store from AppStore App

    I have three iPod Touch 4G in the house. All running 5.1.1 iOS. Mine (that I use everyday, can access the App Store and Updates just fine. My wife's iPod (which hasn't been used for a few weeks) cannot access the App Store, Updates without the error "Cannot Cannect to iTunes Store". Both are using the same network router on WiFi. Both have internet access and I can browse on both just fine. All other functions of the App Store app work fine EXCEPT Updates.
    She did have 7 updates initially and I went to iTunes under Apps and UPDATED them all with an exception, one of them downloaded but failed to show "downloaded" it still says "update" on a little tag. This makes me think that something is "stuck" in queue within iTunes Store for that account.
    I have tried EVERY fix mentioned that I can find and this simply makes no sense.
    Thanks in advance for any help you can give.

    Actually this was solved. I found a thread that detailed what to do to fix it and it worked for me.
    Essentially, double-click the main button and shut down the App Store (if running)
    Go to "Settings", "General" and "Date & Time"
    Change the date (turn OFF "Automatic") to WAY in the future (like 2025)
    Then back out of settings by using the button in the upper left (so settings are saved)
    Now, open the App Store and click quickly on something OTHER than Updates
    Now click on Updates - you should get a security warning
    Without closing the App Store, go back to Settings, General, Date & Time and set the date back to "Automatic"
    Again, back out of the settings to save the date information
    Now go back to the App Store and it should load the Updates tab properly. You may need to re-enter credentials.
    That fixed it for me. Thanks to HOLEPUNCH for the fix.

  • Cannot connect to iTunes Store iOS 6.1.3 iPad 3G

    Since iOS 6.1.3 I'm not always able to update my Apps in the AppStore.
    I receive the classic "Cannot connect to iTunes Store". I can see it is a time-out in a wrong route config or something.
    My iPhone and iPad mini works fine.
    I've tried reset network settings. Also I've tried to update over 3G (no WiFi) and this worked well (not for Apps >50Mb).
    When I try to resume to update from WiFi (disable 3G) it still doesn't work.
    Tried to kill the AppStore app, didn't work.
    Anyone also having this problem?

    I saw a failed download in iTunes (iPad) and retried to download this song.
    This went ok. Then back to the AppStore and whala it all works again.
    Maybe it was an error with Apple, I don't know.

  • I cannot access the iTunes store from any of my computers.  When I updated to v. 10.7 it made my laptop unable to access. I have installed and uninstalled numerous times.

    I cannot access the iTunes store from any of my computers.  When I updated to v. 10.7 it made my laptop unable to access just like with my two desktops. I have installed and uninstalled numerous times.

    Nothing happens.  iTunes just hangs up every time, saying "Accessing iTunes Store."  It does that for a very, very long time, then nothing.  Here is what happens when I run diagnostics.
    Microsoft Windows 7 x64 Home Premium Edition Service Pack 1 (Build 7601)
    LENOVO Lenovo H420
    iTunes 10.7.0.21
    QuickTime not available
    FairPlay 2.2.19
    Apple Application Support 2.2.2
    iPod Updater Library 10.0d2
    CD Driver 2.2.3.0
    CD Driver DLL 2.1.3.1
    Apple Mobile Device 6.0.0.59
    Apple Mobile Device Driver 1.62.0.0
    Bonjour 3.0.0.10 (333.10)
    Gracenote SDK 1.9.6.502
    Gracenote MusicID 1.9.6.115
    Gracenote Submit 1.9.6.143
    Gracenote DSP 1.9.6.45
    iTunes Serial Number 0015AF9C035D73D0
    Current user is not an administrator.
    The current local date and time is 2012-09-15 18:28:21.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is supported.
    Core Media is supported.
    Video Display Information
    Intel Corporation, Intel(R) HD Graphics Family
    **** External Plug-ins Information ****
    No external plug-ins installed.
    **** Network Connectivity Tests ****
    Network Adapter Information
    Adapter Name: {EF6BBA91-21E3-44BD-828F-794CBBBFC89D}
    Description: Intel(R) 82579V Gigabit Network Connection
    IP Address: 192.168.1.10
    Subnet Mask: 255.255.255.0
    Default Gateway: 192.168.1.1
    DHCP Enabled: Yes
    DHCP Server: 192.168.1.1
    Lease Obtained: Sat Sep 15 17:52:30 2012
    Lease Expires: Sun Sep 16 17:52:30 2012
    DNS Servers: 192.168.1.1
    Active Connection: LAN Connection
    Connected: Yes
    Online: Yes
    Using Modem: No
    Using LAN: Yes
    Using Proxy: No
    Firewall Information
    Windows Firewall is off.
    Connection attempt to Apple web site was unsuccessful.
    The network connection timed out.
    Basic connection to the store failed.
    The network connection timed out.
    Connection attempt to Gracenote server was successful.
    The network connection timed out.
    Last successful iTunes Store access was 2012-04-29 17:37:19.
    **** Device Connectivity Tests ****
    iPodService 10.7.0.21 (x64) is currently running.
    iTunesHelper 10.7.0.21 is currently running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    Universal Serial Bus Controllers:
    Intel(R) 6 Series/C200 Series Chipset Family USB Enhanced Host Controller - 1C26. Device is working properly.
    Intel(R) 6 Series/C200 Series Chipset Family USB Enhanced Host Controller - 1C2D. Device is working properly.
    No FireWire (IEEE 1394) Host Controller found.
    Connected Device Information:
    Brooke, iPod touch (2nd generation) running firmware version 4.2.1
    Serial Number: 9E******75J
    Most Recent Devices Not Currently Connected:
    iPod nano (6th Generation) running firmware version 1.2
    Serial Number: DC*******DVY
    iPhone 4S running firmware version 5.1.1
    Serial Number: C8*******TF9
    iPad 2 running firmware version 5.1.1
    Serial Number: DK*******FHW
    **** Device Sync Tests ****
    Sync tests completed successfully.
    <Edited by Host>

  • Ios7 "Cannot Connect to iTunes Store". When I try clicking on the "Terms and Conditions" in iCloud, it first says "Cannot Connect" and then the following mes

    Hi, I have upgraded my iphone 4s to ios7 and now when I am trying to login to app store, it says "Cannot Connect to iTunes Store". When I try clicking on the "Terms and Conditions" in iCloud, it first says "Cannot Connect" and then the following message: "Verification Failed: the certificate for this server is invalid. you might be connecting to server that is pretending to be setup.icloud.com, which could put your confidential information at risk". My wifi is working properly as I have accessed websites from safari. I reset my network settings too and even reset my password. But none of these get my iphone working.

    I'm having the same problem with the iTunes Store...it much be down :(

  • App store on itunes not working error iTune cannot connect to itune store unknown error the network conection is refused on windows 8

    app store on itunes not working error iTune cannot connect to itune store unknown error the network conection is refused on windows 8

    Microsoft Windows 8 Business Edition (Build 9200)
    Hewlett-Packard HP Pavilion dv6 Notebook PC
    iTunes 11.1.5.5
    QuickTime not available
    FairPlay 2.5.16
    Apple Application Support 3.0.1
    iPod Updater Library 11.1f5
    CD Driver 2.2.3.0
    CD Driver DLL 2.1.3.1
    Apple Mobile Device 7.1.1.3
    Apple Mobile Device Driver 1.64.0.0
    Bonjour 3.0.0.10 (333.10)
    Gracenote SDK 1.9.6.502
    Gracenote MusicID 1.9.6.115
    Gracenote Submit 1.9.6.143
    Gracenote DSP 1.9.6.45
    iTunes Serial Number 0150B8980AD913B8
    Current user is not an administrator.
    The current local date and time is 2014-03-18 04:37:01.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is supported.
    Core Media is supported.
    **** External Plug-ins Information ****
    No external plug-ins installed.
    iPodService 11.1.5.5 is currently running.
    iTunesHelper is currently not running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    **** Network Connectivity Tests ****
    Network Adapter Information
    Adapter Name:    {240FD97D-8118-4928-BF4E-8A531F89D837}
    Description:    Microsoft Wi-Fi Direct Virtual Adapter
    IP Address:    0.0.0.0
    Subnet Mask:    0.0.0.0
    Default Gateway:    0.0.0.0
    DHCP Enabled:    Yes
    DHCP Server:   
    Lease Obtained:    Wed Dec 31 16:00:00 1969
    Lease Expires:    Wed Dec 31 16:00:00 1969
    DNS Servers:   
    Adapter Name:    {BCD0EF3F-C4A4-402C-969A-C46C079E56A6}
    Description:    Bluetooth Device (Personal Area Network)
    IP Address:    0.0.0.0
    Subnet Mask:    0.0.0.0
    Default Gateway:    0.0.0.0
    DHCP Enabled:    Yes
    DHCP Server:   
    Lease Obtained:    Wed Dec 31 16:00:00 1969
    Lease Expires:    Wed Dec 31 16:00:00 1969
    DNS Servers:   
    Adapter Name:    {DD5C0797-BC23-4732-85FE-AC59C926EE98}
    Description:    Realtek PCIe GBE Family Controller
    IP Address:    10.144.120.70
    Subnet Mask:    255.255.255.0
    Default Gateway:    10.144.120.1
    DHCP Enabled:    Yes
    DHCP Server:    10.144.120.3
    Lease Obtained:    Tue Mar 18 03:26:26 2014
    Lease Expires:    Mon Jun 16 03:26:26 2014
    DNS Servers:    10.144.5.30
            10.144.130.5
    Adapter Name:    {E7CA4853-FF4A-49AE-AA4E-06BB1DEE67D4}
    Description:    Ralink RT5390 802.11b/g/n WiFi Adapter
    IP Address:    0.0.0.0
    Subnet Mask:    0.0.0.0
    Default Gateway:    0.0.0.0
    DHCP Enabled:    Yes
    DHCP Server:   
    Lease Obtained:    Wed Dec 31 16:00:00 1969
    Lease Expires:    Wed Dec 31 16:00:00 1969
    DNS Servers:   
    Active Connection:    LAN Connection
    Connected:    Yes
    Online:        Yes
    Using Modem:    No
    Using LAN:    Yes
    Using Proxy:    No
    Firewall Information
    Windows Firewall is on.
    iTunes is NOT enabled in Windows Firewall.
    Connection attempt to Apple web site was unsuccessful.
    The network connection timed out.
    Basic connection to the store failed.
    The network connection was refused.
    Connection attempt to Gracenote server was successful.
    The network connection was refused.
    iTunes has never successfully accessed the iTunes Store.
    **** CD/DVD Drive Tests ****
    No drivers in LowerFilters.
    UpperFilters: GEARAspiWDM (2.2.3.0),
    F: hp DVD-RAM UJ8B1, Rev H.02
    Drive is empty.

  • IPad app store message "Cannot connect to iTunes store"

    Recently my iPad (wifi) &amp; my husband's iPhone (AT&amp;T)have been unable to connect to the app store or iTunes. We get the message "cannot connect to iTunes store". The only thing that I have done recently is download a kindle book &amp; add a Bluetooth keyboard. The keyboard was never paired with the iPhone so I don't think that could be the issue. The iPad &amp; iPhone have both been updated, but that hasn't resolved the issue. There was no problem connecting to iTunes through the PC to run the update. Why would both devices suddenly have the same problem? One is wifi &amp; one is 3G so it's not the connection. They have nothing in common except the error. Any help would be appreiciated since this is getting frustrating. Thanks!

    Hi, Thank you!  I did as you suggested but it didn't work.  So, this time I cleared all apps out of the tray, signed out of my account at the store, and did a hard reboot.  Then on my desktop I signed out of my account in iTunes and then synced.  I have signed back into the store on the iPad but still get the same message. 

  • TS1368 Cannot connect to iTunes store when trying to update  or download an app, I tried changing the time and updates nothing iseems to be working

    Cannot connect to iTunes store when trying to update or download apps, I have tried updates and adjusting the date

    The Complete Guide to Using the iTunes Store
    http://www.ilounge.com/index.php/articles/comments/the-complete-guide-to-using-t he-itunes-store/
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/TS3297
    Best Fixes for ‘Cannot Connect to iTunes Store’ Errors
    http://ipadinsight.com/ipad-tips-tricks/best-fixes-for-cannot-connect-to-itunes- store-errors/
    Try this first - Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    This works for some users. Not sure why.
    Go to Settings>General>Date and Time> Set Automatically>Off. Set the date ahead by about a year.Then see if you can connect to the store.
     Cheers, Tom

  • When trying to update or add new apps to our daughters iTouch she gets and error saying "cannot connnect to iTunes stores."  What to do?  We have reset the password, gone into the apple store and so much more.

    We are trying to update and add new apps to an iTouch and we get an error saying "cannot connect with iTunes store." We have already reset our password.

    Hello jaybearden,
    Thanks for the question. After reviewing your post, it sounds like you are not able to restore the iOS device since you get an error 9. I would recommend that you read this article, it may be able to help the issue.
    Resolve iOS update and restore errors - Apple Support
    Check your security software
    Related errors: 2, 4, 6, 9, 1000, 1611, 9006. Sometimes security software can prevent your device from communicating with either the Apple update server or with your device.
    Check your security software and settings to make sure that they aren't preventing a connection to the Apple servers.
    Thanks for using Apple Support Communities.
    Have a nice day,
    Mario

Maybe you are looking for

  • SLD Logical System Name Changes not taking effect in IDOC

    All - I've had to change a logical system name in the SLD, everything appears to be okay but new Idocs are still posting with the old LS name - any suggestions as to where to look for the old name would be most appreciated. Thanks!

  • Wireless repeater using wrt54g and wap54g

    i am having problems connecting my wrt54g and wap54g as wireless repeater. my setup is as follows: 1. wrt54g (192.168.1.10) is connected to a dsl provider modem/router (192.168.1.1) (dhcp server). With this setup i do not have any problems connecting

  • [ID5] Find line without paragraph break

    Hello, I want to Find lines containing a specific character style. But when that line is at the end of a paragraph, it also selects the paragraph break. Which GREP do I have to use to select the line without the break? Regards, Sjoerd

  • JDBC-RFC Query Error

    Hi friends, I have 2 tables at sender JDBC side . one is header table and second one is Line items. Now i have to pass to RFC in such a way that onley once header and respective line items to the RFC. rite now i am using this Query in JDBC sender sid

  • Scene 1, Layer 'Layer 1', Frame 1, Line 1     1172: Definition fl.data:DataProvider could not be found.

    How do I correct this error - is it because I by accident has deleted the default library path and how do I put it back to the default value?