IPhone - SDK 3.0 - Store Kit - Has anyone made app restore work?

Hi all,
I'm doing some tests with the Store Kit for the in-app purchase feature. Everything seems to work fine but this:
I just couldn't get restore to work.
In particular, I notice that the SKPaymentQueue documentation refers to paymentQueueRestoreCompletedTransactionsFinished:
and paymentQueue:restoreCompletedTransactionsFailedWithError: , supposedly part of the SKPaymentTransactionObserver protocol, but its reference page doesn't mention it at all.
I still tried to implement it with the following prototypes:
- (void)paymentQueue: (SKPaymentQueue *)queue restoreCompletedTransactionsFinished: (NSArray *)transactions;
- (void)paymentQueue: (SKPaymentQueue *)queue restoreCompletedTransactionsFailedWithError: (NSError *)error;
For testing, I have three elements in the sandbox, one of each kind, and I bought all of them and then deleted the application from the iPhone. When I install it back, I'm expecting restoreCompletedTransactions to get at least some of them restored, but none of the observer's selector gets called back.
Has anyone successfully restored transactions? Did I miss something?
Any help would be greatly appreciated.
Regards

Hi,
I'm looking for informations about In App purchasing but I find any interesting things !!
I see that your tests work fine until the restored transactions.
So could help me to start with this feature ? I've read Store Kit Programming but I don't understand how start?
What are the first stages to follow ? How do you create a list of product to store with their ID associated ?
Thank you!
Cédric.
PS:I write this post in English but i'm French so you can reply me in French or not!!

Similar Messages

  • I have an epson workforce 600 which is not listed as airprint enabled. has anyone made this printer work with airprint?

    i have an epson workforce 600; it is not listed as one of the printers that is airprint enabled.
    has anyone made it work with airprint? if so, please tell me how.
    thanks.

    The Workforce 600 is not AirPrint-compatible. Epson has an app that enables printing to some of their other wireless printers. Search the iTunes Store or look to the support resources for your model of printer. Third-party printing apps such as PrintCentral are also available. All such apps have limitations, so check them out thoroughly before you pay for any such app.
    You could also route the printing through your computer. If you have a Mac, Printopia would be worth a look. Fingerprint is another option that is available for both Mac OS X and Windows system. You could also consider an AirPrint-capable print server. Lantronix makes a couple of models, including one that supports a USB printer:
    http://www.lantronix.com/it-management/xprintserver/xprintserver-t2.html
    Regards.

  • Has anyone made Portal & SSL work?

    I posted the topic http://technet.oracle.com:89/ubb/Forum70/HTML/000680.html a couple of days ago but no response (got a second question added, though). Which makes me wonder - has anyone gotten Portal to work with SSL - not just the Login Server but the whole enchilada?

    STEP 6
    Now, there was a question as to how to restrict access to only HTTPS URLs. To do this, we can specify some Apache directives to restrict access to certain locations to HTTPS. However, recall that we said the Portal currently can only use HTTP to request some of the Login Server URLs. So, we need a workaround to let the Portal access those URLs over HTTP, but forcing all users to use HTTPS.
    This can be achieved by the following steps:
    Setup a DAD for use by the Portal when accessing the Login Server
    Edit the %IAS_HOME%\Apache\modplsql\cfg\wdbsvr.app file and copy the DAD_portal30_sso section and rename it to portal30_ls (for example), so you wind up with 3 DADs - portal30, portal30_sso and portal30_ls.
    In the sncookiename field, specify the same cookie name as used by portal30_sso -- 'portal30_sso'
    [DAD_portal30_ls]
    connect_string = pencarna
    password = portal30_sso
    username = portal30_sso
    default_page = portal30_sso.wwsso_home.home
    document_table = portal30_sso.wwdoc_document
    document_path = docs
    document_proc = portal30_sso.wwdoc_process.process_download
    ;upload_as_long_raw =
    ;upload_as_blob =
    name_prefix =
    ;always_describe =
    ;after_proc =
    ;before_proc =
    reuse = Yes
    ;connmax =
    pathalias = url
    pathaliasproc = portal30_sso.wwpth_api_alias.process_download
    enablesso = Yes
    sncookiename = portal30_sso
    stateful = No
    ;custom_auth =
    Specify Apache directives to require use of SSL
    Edit the %IAS_HOME%\Apache\modplsql\cfg\plsql.conf file, adding the following directives after the top few lines...
    # Enable handling of all virtual paths beginning with "/pls" by mod-plsql
    <Location /pls>
    SetHandler pls_handler
    Order deny,allow
    Allow from all
    </Location>
    # Have all accesses to /pls/portal30 require the use of HTTPS
    <Location /pls/portal30>
    SSLRequireSSL
    </Location>
    # Have all accesses to /pls/portal30_sso require the use of HTTPS
    <Location /pls/portal30_sso>
    SSLRequireSSL
    </Location>
    # Define a new DAD which will allow HTTP access, but only from the Portal DB
    <Location /pls/portal30_ls>
    Order deny,allow
    Deny from all
    Allow from localhost pencarna.us.oracle.com
    </Location>
    # Do not allow access to the following URLs from any browser
    # These will be accessed by the Portal through the portal30_ls DAD
    <Location /pls/portal30_sso/portal30_sso.wwsso_app_admin.validate_user*>
    Order deny,allow
    Deny from all
    </Location>
    <Location /pls/portal30_sso/portal30_sso.wwsso_app_admin.print_fapp_username*>
    Order deny,allow
    Deny from all
    </Location>
    <Location /pls/portal30_sso/portal30_sso.wwsso_app_admin.external_apps_list*>
    Order deny,allow
    Deny from all
    </Location>
    Instruct the Portal to use the "portal30_ls" DAD to contact the Login Server
    Start the http server
    Log into the Portal
    click on the Administer tab
    click on Global Settings
    scroll down to the Login Server section
    update the Query Path URL Prefix to use the portal30_ls DAD, e.g., http://pencarna.us.oracle.com/pls/portal30_ls/
    That should do it. After these changes, the Portal and Login Server should be accessible over HTTPS, and the portal is able to do the necessary communication with the Login Server. If a user attempts to access the server with http, they should get a forbidden message from the server.

  • My wifi is not working. It has no indication. I am living in Indonesia but I bought my iphone from apple online store. Can anyone help me how to fix my problem?

    My wifi is not working. It has no indication. I am living in Indonesia but I bought my iphone from apple online store. Can anyone help me how to fix my problem?

    The No Service means there is a problem with cellular service. You mention wifi in your title. Which is it you are having trouble with? What happens when you switch on and off as you state in your post? Are you saying that wifi does not connect while at home either?

  • HT4914 I have several songs in my ITunes library that show as ineligible to be uploaded to ICloud, even though most of them were purchased through the ITunes Store. Has anyone else experienced this and figured out why?

    I have several songs in my ITunes library that show as ineligible to be uploaded to ICloud via Match, even though most of them were purchased through the ITunes Store. Has anyone else experienced this and figured out why?

    I had the exact same issue!! Seriously p*ssed me off when I checked out my ITunes purchased items (via my computer) and noticed that most of the additional tracks listed on my IPhone playlist was listed there too. However, I never authorized any purchases!!  (I have actually written Apple Support asking for a full refund of all tracks listed on my purchased list)
    Be careful when you swipe your finger to the left/right on those "additional" tracks on your IPhone playlist... I'm pretty sure that the cloud symbol is an option to download or automatically buy those tracks.
    Solution for the problem:
    1 - go to your IPhone settings
    2 - choose "iTunes & App Store"
    3 - go to "Show All" & "Music"
    4 - turn off "Music" by moving the bar to the left (it should be a white color once you turn it off)
    Should solve your problem :~)

  • [solved]Catalyst + xorg 1.6 = Has anyone gotten it to work?

    After going over the wiki for ATI and installing the catalyst+catalyst utils (9.4) from AUR using yaourt, the device refused to load. Now, I don't have the error on file as I'm not at home. But the question remains: Has anyone gotten this to work?
    (*) 4870 HD Radeon card
    (*) 9.4 driver + utils from yaurt/AUR (I didn't.. see official 9.4 drivers anyone on the ATI website, how did we get them?)
    (*) no xorg.conf used, just startx to automatically detect hardware. And it worked, attempting to use the catalyst-based driver, but only with red bars and blocks on top of the screen
    (*) xf86-video-ati and radeonhd both work fine, but obviously the 3d support isn't so hot, and I'm a huge gamer
    (*) latest xorg release from pacman -Syu
    (*) Yes, I know official support has ceased
    Thoughts? Shared ideas? What are we waiting for, ATI's new drivers or a patched fix? Got this working, anyone?
    edit: Yes, I've searched the forums. But there's too much scattered information and not enough to really focus on what seems to be the problem and how to resolve it
    Last edited by nocts (2009-04-17 21:34:40)

    Well, I have a hd 4850, but that's generally the same. Here is my xorg.conf:
    Section "ServerLayout"
    Identifier "Xorg Configured"
    Screen 0 "aticonfig-Screen[0]-0" 0 0
    Option "AIGLX" "on"
    EndSection
    Section "Files"
    # Additional fonts: Locale, Gimp, TTF...
    # FontPath "/usr/share/lib/X11/fonts/latin2/75dpi"
    # FontPath "/usr/share/lib/X11/fonts/latin2/100dpi"
    # True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
    ModulePath "/usr/lib/xorg/modules"
    FontPath "/usr/share/fonts/misc:unscaled"
    FontPath "/usr/share/fonts/misc"
    FontPath "/usr/share/fonts/75dpi:unscaled"
    FontPath "/usr/share/fonts/75dpi"
    FontPath "/usr/share/fonts/100dpi:unscaled"
    FontPath "/usr/share/fonts/100dpi"
    FontPath "/usr/share/fonts/PEX"
    FontPath "/usr/share/fonts/cyrillic"
    FontPath "/usr/share/fonts/Type1"
    FontPath "/usr/share/fonts/ttf/western"
    FontPath "/usr/share/fonts/ttf/decoratives"
    FontPath "/usr/share/fonts/truetype"
    FontPath "/usr/share/fonts/truetype/openoffice"
    FontPath "/usr/share/fonts/truetype/ttf-bitstream-vera"
    FontPath "/usr/share/fonts/latex-ttf-fonts"
    FontPath "/usr/share/fonts/defoma/CID"
    FontPath "/usr/share/fonts/defoma/TrueType"
    EndSection
    Section "Module"
    Load "ddc" # ddc probing of monitor
    Load "dbe"
    Load "dri"
    Load "extmod"
    Load "glx"
    Load "bitmap" # bitmap-fonts
    Load "record"
    EndSection
    Section "ServerFlags"
    Option "AllowMouseOpenFail" "true"
    Option "AutoAddDevices" "True"
    Option "Xinerama" "off"
    Option "Composite" "off"
    EndSection
    Section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
    Option "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us,cz,sk,hu"
    Option "XkbVariant" ",qwerty,qwerty,"
    Option "XkbOptions" "grp:shifts_toggle"
    EndSection
    Section "Monitor"
    Identifier "aticonfig-Monitor[0]-0"
    Option "VendorName" "ATI Proprietary Driver"
    Option "ModelName" "Generic Autodetecting Monitor"
    Option "DPMS" "true"
    EndSection
    Section "Device"
    Identifier "aticonfig-Device[0]-0"
    Driver "fglrx"
    Option "XAANoOffscreePixmaps" "on"
    Option "VideoOverlay" "off"
    Option "OpenGLOverlay" "off"
    Option "TexturedVideo" "on"
    Option "TexturedXrender" "on"
    Option "Textured2D" "on"
    BusID "PCI:1:0:0"
    EndSection
    Section "Screen"
    Identifier "aticonfig-Screen[0]-0"
    Device "aticonfig-Device[0]-0"
    Monitor "aticonfig-Monitor[0]-0"
    DefaultDepth 24
    SubSection "Display"
    Viewport 0 0
    Depth 24
    Modes "1680x1050"
    EndSubSection
    EndSection
    Section "DRI"
    Mode 0666
    EndSection
    Section "Extensions"
    Option "RENDER" "Enable"
    Option "DAMAGE" "Enable"
    Option "Composite" "Disable"
    EndSection
    don't forget to run 'aticonfig --initial --input=/etc/X11/xorg.conf ' as root after you update your driver or change sthing in xorg.conf
    BTW I use catalyst 9.4 from AUR with kernel 2.6.29 and xorg 1.6
    Hope it helps...

  • Has anyone got AST to work on a Lion Server?

    For the Apple Service Providers we need to run Apple Service Toolkit from a server. Has anyone gottten AST to work on a Lion Server? We have 3 locations and have all tried and have gotten different out comes but none have worked. We have chatted with Apple Service with no help.

    I have it installed on a Lion server machine and the only way I have been able to get the client machines to see it was to plug both the server machine and the client into the same switch. Netbooting across subnets seems almost impossible.
    I am also waiting to hear back from the AST support people because now, when I netboot a client machine to the gateway, it says "There is a problem with the Gateway Manager." When I log into the server and open Gateway Manager, it just sits there forever saying "Looking for gateway controller."
    Currently I'm running AST 1.0.9 and I understand that version 1.1.1 is actually the latest, but I cannot find it ANYWHERE on Apple's site nor in GSX. In fact, since they switched over to the new GSX domain, the ONLY thing I can find related to AST is a small article describing how it works. No downloads, no links, no nothing.
    Any idea where to find the latest version? I can't even find a link to it with a simple Google search. The AST support guy said to search within GSX, which found nothing but the article I mentioned.

  • Has anyone got NVrotate to work under Win98SE?

    I installed the latest driver for this card for Win98
    NVrotate is not available as an option in Win98SE
    Display properties-->settings -->GeForce FX5200
    I temporarily moved a drive with WinXP Pro onto this machine.
    NVrotate is an available option in
    Display properties-->settings -->GeForce FX5200
    and works fine.
    But for various compatibility reasons this machine has to been running Win98SE.
    Has ANYONE got NVrotate to work under Win98 ??????
    MSI FX5200  TD128
    Gigabyte GA-7VAX
    AMD 2400+
    17" Analog LCD & 18.1" Analog LCD

    I managed to get it to work, you have to install two files
    the first for the actual python script files.
    the second for the user interface.
    you might have installed the user interface, but without installing python, and that's why its not loading up the application, also make sure you install python to phone memory.
    On my N96 I installed:
    Python for S60 1.4.4
    Python script shell 1.4.4
    if you get an 'update error' when installing its because you have not un-installed all of the old python stuff, open app manager on the handset and un-install all python relating files
    one last thing, install python and the shell to the phone memory (c drive)
    Hope it helps
    Tony

  • Has anyone gotten DLNA to work properly with Windows 7 x64 ?

    Has anyone gotten DLNA to work properly on Windows 7 64 bit and Windows Media Player 12? I got it working, sort of. It's not reliable though, and very slow. It drops the connection a lot, and when I go to engage it it connects about half of the time and half of the time it won't see the Media Server. It also times out when trying to scan my (admittedly large) music directory on my PC.
    I'm sure that my hardware is ok, I think that DLNA is just a buggy system. But if anyone has it working properly with Windows 7 x64 and WMP 12 can you tell me exactly how you set it up?  And if you used another desktop app besides WMP can you tell me what worked for you?
    Thanks!

    Try setting it up like this.  Hope this helps!
    Start Device Manager.
    Windows 7 Click Start > Control Panel > System and Security > Device Manager.
    The following devices are normally installed:
    Anrdoid USB Devices
    My HTC
    Disk drives
    HTC Android Phone USB Device
    Modems
    HTC Modem (if using as a tethered modem)
    Portable Devices
    E:/ (Where E represents the assigned drive letter.)
    Universal Serial Bus controllers
    USB Composite Device
    USB Mass Storage Device
    If a red X, yellow ! or yellow ? is displayed to the left of a listed device, a conflict is present and the drivers must be updated or reinstalled.
    Driver conflicts may also be indicated by a device entry labeled Other Devices or Unknown.
    If a conflict is present:
    If using the HTC DROID Incredible ADR6300 as a Sync device continue to step 3.
    If using the HTC DROID Incredible ADR6300 as a Modem ensure the device drivers are installed. Refer to Downloading and installing VZAccess Manager for additional assistance.
    If VZAccess Manager is installed and a driver conflict is still present, continue to step 3.
    Right-click the device then click Update Driver Software.
    If using Windows 2000 / XP, right-click the device then click Update Driver.
    The device name may differ from the example shown.
    Click Browse my computer for driver software.
    If using Windows 2000 / XP, select Install from a list or specific location (Advanced) then click Next.
    Enter C:\Windows\System64\driver into the search window then click Next.
    The driver location can be entered manually or navigated to by clicking Browse.
    If the driver software is not found, a Windows Operating System update may be needed.
    Click Close.

  • My Ipad 2 has tried to shot down now for 3 hours, just before I could not open Itunes and App Store but Email and other apps was working. them I tried to shot down but I have now for 3 hours black screen whit turning wheel. any I deas what too do?

    My Ipad 2 has tried to shot down now for 3 hours, just before I could not open Itunes and App Store but Email and other apps was working. them I tried to shot down but I have now for now for more that 3 hours black screen whit turning wheel. any I deas what too do

    See Here for
    iPad Basic Troubleshooting
    http://support.apple.com/kb/TS3274
    Unresponsive iPad
    http://support.apple.com/kb/TS3281

  • Has anyone experienced apps suddenly shutting down on their iPad Mini ?

    Has anyone experienced apps suddenly shutting down on their iPad Mini running iOS7.0.4? Just started in the last few days

    Have you tried restarting or resetting your iPad?
    Restart: Press On/Off button until the Slide to Power Off slider appears, select Slide to Power Off and, after It shuts down, press the On/Off button until the Apple logo appears.
    Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10 seconds).
    No data will be lost.

  • Has anyone made any work for CiA Draft standard proposal 406 for Encoders?

    We are asked to program a test application for encoders. The encoders have a varity of interfaces. One of them is CAN which uses the CiA Draft standard proposal 406 for Encoders.
    Has anyone made VIs for this standard?
    Waldemar
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions

    Hi,
    This seems like a application layer protocol. Is that right?.
    If so, NI doesn't have VIs to decode this particular protocol. At the moment the NI-CAN driver provides the Frame API or the Channel API.
    Let's see if someone else has worked with this protocol.
    DiegoF
    National Instruments

  • Has anyone made a Watts UP? Meter vi??

    I am trying to integrate a WATTS UP? meter into my project.  Has anyone made a vi for this meter?  It is the RS-232 version, and here is there website can be found https://www.wattsupmeters.com/secure.html .  The company says they have not made one for Labview, but before I dig into making a vi, I wanted to see if any of you have made one yet.  Thanks in advance!
    - J.S.
    Attachments:
    WattsUp_Pro2.jpg ‏6 KB

    Hey. Well, there are several ways that I have found to make tables 508 compliant. The one I went with is as follows:
    public static class AccessibleTableSelectionListener implements ListSelectionListener {
    JTable innerTable;
    public AccessibleTableSelectionListener(JTable table) {
    innerTable = table;
    public void valueChanged(ListSelectionEvent e) {
    if (e.getValueIsAdjusting()) return;
    ListSelectionModel lsm = (ListSelectionModel)e.getSource();
    if (innerTable.getRowCount() > 0 && !lsm.isSelectionEmpty())
    setAccessibleNameForSelectedCell(innerTable);
    private void setAccessibleNameForSelectedCell(JTable table) {
    int selectedRow = table.getSelectionModel().getLeadSelectionIndex();
    int selectedCol = table.getSelectedColumn();
    if (selectedRow >= 0 && selectedCol >= 0 && table.getCellRenderer(selectedRow, selectedCol) instanceof DefaultTableCellRenderer) {
    String selectedCellValue = table.getValueAt(selectedRow, selectedCol) == null ? " " : table.getValueAt(selectedRow, selectedCol).toString();
    String selectedColName = table.getColumnName(selectedCol) == null ? " " : table.getColumnName(selectedCol).toString();
    TableCellRenderer renderer = (TableCellRenderer)table.getCellRenderer(selectedRow, selectedCol);
    Component comp = renderer.getTableCellRendererComponent(table, selectedCellValue, true, true, selectedRow, selectedCol);
    comp.getAccessibleContext().setAccessibleName(selectedCellValue + " " + selectedColName);
    } // End of AccessibleTableSelectionListener
    You may need to tweak the above code to fit your app a bit. There is a bug here though. If you use jaws and a mouse, you will notice that jaws reads the last selected row. If you want to go around this you will need to delete the mouseListeners on the table and rewrite one that takes advantage of the above code. If you need any more help, just ask.
    Dan

  • Dont connect with mac AppStore and iTunes store, but Safari and other apps is working good. pleeeease help.(OS X 10.8.5)

    Dont connect with mac AppStore and iTunes store, but Safari and other apps is working good. pleeeease help.(OS X 10.8.5)

    Error message?

  • Loud feedback squeal during phone calls on iPhone 5 in life proof case, has anyone else had this issue?

    I have had my IPhone 5 for one week and just installed it in a life proof case. After installing it in the case I started getting a loud feedback squeal while talking on the phone. There was no squeal when the phone was not in the case so I suspect the case is causing the reaction. I work in construction so this case is a must to keep the phone safe. Has anyone else had this issue or is there a solution so that my phone can remain in the case?

    I have the same problem, guess i'll try it without the case and see.

Maybe you are looking for

  • Error accessing PDF files from Java

    In CF7, I have a routine that opens submitted PDF files through Java to do some manipulation. Similar to CF8 PDF manipulation, but more complex. In almost all cases, it works fine, except two. For one, a submitted PDF was corrupted somehow -- I can't

  • Pavilion g6 2291sa not booting up

    Hello, I have a Pavilion g6 2291sa that is refusing to boot up. The power light is on, the wireless light is on and the caps lock light turns on and off but there is no sound coming from the hardrive and nothing coming on the screen. I have tried a h

  • Procedure with Cursor

    I have the following code: CREATE OR REPLACE PROCEDURE RENTALPAYMENTS( p_PROPERTY_DETAIL_ID LMR_PROPERTY_DETAILS.LMR_PROPERTY_DETAIL_ID%TYPE ) IS CURSOR property_detail_cur IS SELECT RENT, BOND, START_DATE, LEASE_PERIOD, PAYMENT_INTERVAL, PROP_PROPER

  • Mission control doesn't work

    Let me start with a little history for my problem. Some odd months ago Expose stopt working in OS 10.6, i couldn't get it to work with the F-keys and with the mousepad gestures. I searched the internet for some time and found some possible solutions.

  • Does a LIVE person ever pick up for Prepaid Customer Service?

    In 2013 I got a prepaid phone for my 84 year old mother and put $100 on the account. She passed away in late March 2014 and I have been trying to cancel the phone ever since. I went to my local Verizon store and was told nothing could be done until t