RequestProductPurchaseAsync(): deprecated and new ones

I am about to migrate my app from Windows 8 to Windows 8.1. Until now, I used
public static IAsyncOperation<string> RequestProductPurchaseAsync(
string productId,
bool includeReceipt
for In-app purchases. This method is declared as deprecated/obsolte now.
There is a new method:
public static IAsyncOperation<PurchaseResults> RequestProductPurchaseAsync(
string productId
In the help file
[link] for this new method is this Remark:
>>
Use the LicenseInformation.IsActive property to confirm that a product license is active
after a "successful" RequestProductPurchaseAsync call.
Note  This method of confirming a successful purchase is only applicable to the
RequestProductPurchaseAsync overloads that don't return a
PurchaseResults object.
You can see an example of how to use this method in our code sample.
<<
What I don't understand:
Why does the first sentence tell us that we should use the IsActive property to confirm a successful purchase while the second sentence tells us that we should not?
Why does this first sentence only exist for the new method and not in the help page for the deprecated method?
Why does the mentioned code sample use IsActive, nevertheless?
Does anybody understand this?

It makes sense to me.  It looks like they've modified the purchasing to offer more info about the purchase, instead of just returning the receipt.  It makes it easier for devs to know what's going on.
1)  Don't worry about it.  Use the non-depreciated method and just check the returned object's Status value.  It will be Succeeded if the purchase succeeded, or another code if it fails.
2) Because there isn't any other way to tell if it succeeded for the depreciated method.
3) It's not wrong, you can still use it.  In fact, once the purchase has completed, that's how you'd tell across devices or after uninstalls/reinstalls. 
Darin R.

Similar Messages

  • TS2972 I enabled home sharing on old computer and new one but home share icon never shows up on new computer

    I enabled home sharing on old computer and new one but home share icon never appeaers on new computer

    I've seen several other people ask this same question, but not one single reply.  What gives??

  • Old outlook file and New one...Same Job, different computer.

    Hey Everyone -
    I got kind of a unique situation (I think?) that I couldn't find an answer for. 
    My old work laptop (just for work email) had a graphic card meltdown and so I had to purchase a new computer.  I was able to pull the hard drive out of it and salvage everything, including the outlook file.
    Now on my new pc, when I set up my email (POP3) that is linked to some webmail website, I have everything that was online (at that website) in my current outlook. 
    I was thinking I could just take my old outlook file (7gb worth), bring it into outlook and combine them but I had no such luck.  The other issue is, its still referencing the old outlook file off the old hard drive I have and it happens to be the same
    exact name as the new one because its my name @ company name.com
    Is there anyway to combine them or maybe even just import the new one, and THEN link it to the website?
    Here's some screen shots:
    They won't let me post screen shots.... If I can get "verified" I'll post them up...
    Thanks!
    AJ

    What happens when you try to combine them? How did you try to combine them?
    Copy the pst file to your new pcs hard drive. It can go in any folder - backing it up is easier if its in My Documents - rename it if the new data file has the same name. Open it in Outlook using File, Open, Outlook Data file. You could set it as default
    and move all of the mail that arrived in the new pst into the old one or you can use both pst files.
    Diane Poremsky [MVP - Outlook]
    Outlook & Exchange Solutions Center
    Outlook Tips
    Subscribe to Exchange Messaging Outlook weekly newsletter

  • Photos not on my computer are still on iPod and new ones aren't syncing.

    I deleted some photos from my computer and now new photos aren't syncing to my ipod and the ones that I deleted from my computer are still on my iPod- even if I change what folder the photos sync from to a completely different folder.

    Anyone else have ideas? Because the last person's post didn't do anything new.
    Edit: Now in the photo app it's making folders with the same names as those on my computer, but it's not putting any photos into them.

  • Unresolved question: all bookmarks on Ipad iOS 6.1.2 are gone and new one cannot be created

    Hi, I'll take my chances on this one. There are several posts on the forum addressing this issue. But for me none of them has helped.
    By posting this question again, I am hopeful someone can help, I am desperate here:
    The issue is bookmarks in Safari in iOs 6.1.2. (Actually, the problem was alreday there in 6.1.1) :
    All bookmars are gone, and I am not able to create new bookmarks and/or bookmark folders.
    I have now tried all tips I have found here in the support forum, to get my bookmarks back:
    1. I have reset my iPad
    2. I have deleted cockies and data (several times)
    3. I have turned Safari on/off in iCloud sync settings on the iPad
    4. I have tried to create new bookmarks and new bookmark folder, but noting gets saved
    Now, what to do??

    Try simply terminating and restarting Safari:
    1. Press the Home button
    2. Double click the Home button to bring up the "Recent Apps" tray.
    3. Touch and hold on the Safari icon in the "Recent Apps" tray until a "-" appears.
    4. Touch the "-" to terminate Safari.
    5. Restart Safari and see if your Bookmarks are back.

  • Just bought a macbook air and new one comes out

    hey guys bought a mba like 2-3 weeks ago and now the new one comes out lol do i have any options ?

    Yes. Enjoy the one you have or sell it and buy a new one. You have 14 days from date of purchase to exchange it without question or get your money back. After that option has expired you may find the local Apple Store manager is kind and will allow the exchange anyway. Call and ask.

  • Tranfer of content between old touch and new one

    I just bought a 4th gen touch and want to transfer all my content over from my old 2nd touch to the new one. How do I do that?

    Follow the steps mentioned in this article to back up your data: http://support.apple.com/kb/HT4137
    After that make sure to back up manually, let iTunes set up the new device and restore it using the manual backup of your old ipod touch.

  • How do i know that the iphone i just bought is original and new one

    how do i know that the iphone i just bought is original and new one

    Where did you purchase it from?
    Use this link: selfsolve.apple.com to see the warranty status of your device and to confirm that it's a legitimate serial number.

  • Problem BW  : DTP lost source system mapping  and new one created?

    I had a little question concerning the BI content activation, when you have to activate objects and there are two source systems, one of them already with a flow working. Do you have to check both source systems in your screen of source system selection, if there are shared objects? I was afraid if I only checked the one I wanted the existing one would dissappear? I donu2019t want to touch the existing one as it was a 3.5 flow which has been migrated to 7.0.
    I have also another question, which is a worse scenario of what has happened recentlyu2026!! Imagine you have originally one source system in your BW DEV environment (towards QA) with a certain amount of Datasources connected to it as well as some DTPu2019s. A new source system was added to this BW DEV (towards PROD). Do you think adding this new source system could have an impact in the mapping of the DTP towards the Datasources? In fact, some of our DTP have been modified and they are pointing to the incorrect Datasource/Source system. These DTP were created manually as well as the Transformations as it was a former 3.5 flow. Do you know a way to bring it back to itu2019s previous connection. Maybe a table that points to the correct source system or a function module? RSBKDTP and RSBK* tables do not store this info (only descriptions) and RSRV doesnu2019t do it.
    Please let me know if you have had a similar case! Points are waiting and the gratitude of my boss...lol

    Any ideas?

  • Recovering Old Datas on New Drive + Setting Airport Extreme Base Station old and new ones

    Hello All,
    Situation:
    -iMac 24" Alu/2008/2.8 Ghz Intel Core 2 Duo/ 2Go DDR2 SDRAM
    -2 Airport Extreme Base Stations mushroom type,
    -1 Airport Extreme Capsule Model: A1143
    The original 320 Go Hard Drive of my iMac crashed few months ago. A "technician" installed a new Hard Drive 235 Go while trying to recover all datas from old one. Failed.
    No back up. The old disc needs to be unlocked in a dustless atmosphere. Quite expensive at the moment.
    I decided to install OS X from sratch with the original Install Disc delivered with my iMac.
    OS X is 10.5
    Once on line I updated all pre-installed softwares. Among which Aiport Utility 5.6.1 today.
    Problem:
    I would like to get bigger hard drive disc, 1To for example. Does this still exist for this iMac 2008 Alu ?
    How can I do to get my iMac again to OS X 10.9 ?. Does this mean I need to buy all intermediate levels again ?
    How do I get my softwares (the ones on the original Disc: Pack office, Pages, Numbers, etc ...) back on track again, since my iMac is now more like down to factory level ?
    Extending my internet provider from the WiFi router via my 3 Airport Extreme Base Stations: 2 mushroom type that need OS X + Airport Utility softwares at a certain level, while the Capsule might need another level. Right now I tried to set up the 3 of them with this Aiport Utility and though they all recognize the provider network, I can never conclude to extend it with the Base Stations: it drops the case. (WDS trouble which I don't even know what it is, or the Base Station simply desapears from Airport Utility scan, ...)
    Thank you all for you attention.
    Your comments are welcome especially if you have any knowledge on these various subject.
    Can't wait to read your piece of advice.
    Lionnel From Paris (France).

    me too... i connected my hard drive with all my music but i cannot see any of the music that used to be in my itunes... i checked and its there (when I connect the HD directly to my computer) but not when is plugged into the Airport Extreme... Please help!

  • How to sync reading list between my old tablet and new one?

    I have like 100 links in my reading list in firefox on my old tablet. I need to transfer them to my new tablet, but it seems that Firefox sync is working only for bookmarks. How can I transfer my reading list without rooting the device?

    Hello.
    Currently, there is no way to sync your reading list between your devices. Since the reading list is just webpages without all of the ads and a more reader-like experience, it's just like a bookmark. But, you have to make all of those reading list items into bookmarks to sync between devices. The reading list is for on-device only.
    Sorry for all of the trouble. (With 100 and all) :-(

  • Difference between older Extreme and new one

    I have an Airport Extreme that is about 2 to 3 years old.  The difference between speed when I am plugged by ethernet into the network and when I am using the router is significant.  It drops by about 50% or more.
    Can I expect better performance from a new model?  I have mine set at 5GHZ and auto for Channel selection.
    Thanks,
    Deanna

    The new AirPort Extreme 802.11ac......which is really not so new.....can produce wireless signals theoretically approaching the same speed as an Ethernet connection......but.....and this is a big BUT......this speed will only be realized with the 802.11ac AirPort Extreme....IF....
    You also have a new Mac that is capable of receiving an 802.11ac signal....
    and....
    The Mac is located where it has line of sight with the 802.11ac AirPort Extreme.
    To be realistic, if you have a good connection with the new 802.11ac AirPort Extreme and the new Mac is located such that it has line of sight with the AirPort Extreme, you might expect to see a 25% drop in speed compared to the 50%+ that you see now.
    The current AirPort Extreme will be two years old in a few months, and Apple rarely keeps a current model for two years, so there may be a hint in there.

  • My itunes cannot keep imported music, only purchased music. all of my playlists are gone, and new ones are gone after 2 days, please help

    my i tunes loses all of my imported music and playlists after 2 days of making and importing them, its like the itunes is resetting to default, but all of my purchased songs stay on the package but not my cds.
    anyone ever had this problem?
    imported music is lost but purchased stays on.
    is this a pc problem or an itunes problem?
    also i cannot add a file to my folders, i follow the process of adding file to library but nothing happens.

    It should - it's worked for quite a few other folks. It helped that you wrote about having ESET. Other security software can do this. There's a similar issue with folks running Vista on Sony Vaio PCs - there's some Sony bloatware that conflicts with itunes. Carbonite backup software can also cause it.
    Thanks for the points.

  • Flash player won't work and new one won't install

    My adobe flash player is not working, when I tried to download the latest flash player it would not install which means I cannot download a file i need from the transfer email program which requires the flash player. I have gone to the web site and went through the suggested routine of making sure things are enabled. Still no Luck. Need help!

    What is your operating system & version?
    What is your web browser?
    What exactly means "not working"?
    What exactly means "cannot"?

  • My apps won't update and new ones won't download since I updated to the new iOS.

    I have reset settings, re-entered id's and passwords, turned off and on, etc, but I still cannot get anything to download or update.  It just consistently says it can't be downloaded or purchased at this time....

    Is your iPad restricted?
    Check Settings > General > Restrictions

Maybe you are looking for