In-app Purchasing with Phonegap

There’s Phonegap/Cordova plugin to support In-app-purchase on Appstore(iOS) and Google Play(Android), but no way to support Windows Store.
How can we do In-app-purchase with phonegap/cordova for Windows Phone/Windows Store?
Who know if Windows Store supports Javascript Web API to do In-app-purchase ?

Hi fengshuiapps,
If you want to use the WinRT API's directly in your Cordova based app, then all you need to do is to check for window.Windows property and then use the Windows Runtime classes you would normally do from a regular Windows Store/Phone Runtime apps.
For example, this link: https://msdn.microsoft.com/en-us/library/windows/apps/hh694067.aspx talks about enabling in-app purchase for a Windows Store app which uses the Windows Runtime classes directly.
In your case, you will need to use windows.Windows to access the entire Windows Runtime. There is no "intellisense" for getting the WinRT class information, but you should be able to access the classes at runtime.
Something like this..
if (window.Windows) { // this means you can use the Windows Runtime class information
var license = window.Windows.ApplicationModel.Store.CurrentAppSimulator.licenseInformation;
// you can now access license.expirationDate or license.isActive properties
Thanks,
Prashant
Windows Store Developer Solutions, follow us on Twitter:
@WSDevSol|| Want more solutions? See our blog

Similar Messages

  • I downloaded apps purchased with another Apple ID. But my data is missing. What can I do to get them back? I have a different iCloud id.

    I downloaded apps purchased with another Apple ID. But my data is missing. What can I do to get them back? I have a different iCloud id.

    All apps are tied forever to the Apple ID used to obtain them, that is also true with In-App purchases.
    Content bought using one Apple ID cannot be merged or transferred to another Apple ID.

  • How to back up phone with apps purchased with multiple iTunes accounts

    It's a long story, but my iPhone has apps that were purchased through multiple iTunes account. 
    Is it possible to create a backup of my phone that accounts for all of these apps?  Last time I tried backup in iTunes, it only backed up the apps purchased with that particular iTunes account, but not others.
    Should something happen to my iPhone and I need to restore/clone my phone, I want all my apps -- regardless of whose iTunes account was used to purchase them -- to be restored.
    Any quick and easy way for this?

    JoyfulLees wrote:
    It's a long story, but my iPhone has apps that were purchased through multiple iTunes account.
    Is it possible to create a backup of my phone that accounts for all of these apps?  Last time I tried backup in iTunes, it only backed up the apps purchased with that particular iTunes account, but not others.
    Should something happen to my iPhone and I need to restore/clone my phone, I want all my apps -- regardless of whose iTunes account was used to purchase them -- to be restored.
    Any quick and easy way for this?
    The backup does not include any apps. It only includes the list and arrangement of apps; which are then reloaded when you sync after restoring.

  • Backing up iPad apps purchased with two accounts?

    For a recent sync, I "transferred purchases" from my iPad to iTunes and subsequently synced it to my iMac with my personal AppleID. Before syncing, my iPad had apps purchased with two separate AppleIDs on it.
    Upon doing a restore for the iOS5 upgrade, the apps purchase on the other AppleID account don't show up on my iPad.
    Where are the apps now and how can I get them, and their data, back?!? I know I can log into the other AppleID on my iPad and redownload the lost apps from the App Store. However, I need the DATA from the apps (note taking apps and such). How do I get that data back?
    If this isn't an option, this is a major fault of Apple's account design.
    Thanks in advance for your help and suggestions~ 

    Hello J_DougBC,
    Thank you for posting in the Apple Support Communities.  I found an article that addresses Apple IDs that are different than the Primary Email Address on the account.  You will need to go to https://appleid.apple.com/ to "Make your Apple ID and email address one and the same."
    If your Apple ID and primary email address do not match, or they match but the email address is unverified, you can edit them.
    1. Sign in to My Apple ID to manage your account information.
    2. If you want to add and verify an email address that matches your Apple ID, follow the dialog box that says "Make your Apple ID and email address one and the same." This will automatically unverify that email address from any other Apple ID for which it was previously verified.
    3. If you want to change your email address to one that does not match your Apple ID, click Edit next to your Primary Email Address. If this email address is already associated with another Apple ID, you will need to sign in with that Apple ID and delete it before you can add it to your preferred Apple ID.
    Note: If you have an @me.com or @mac.com Apple ID and primary email address, you cannot edit your primary email address once it has been verified. To change your @me.com or @mac.com primary email address to another email address, contact Apple Support for assistance.
    You can find the full article here:
    Associating and verifying email addresses with your Apple ID
    http://support.apple.com/kb/HE68
    I hope this helps get you back on track!
    Best,
    Sheila M.

  • How do you make in app purchase with store credit

    how do you make in app purchase with store credit

    It's automatic, as long as your balance covers the price of the item (including any applicable taxes e.g. state sales tax if you are in the US) then only your account's balance will be charged (if it doesn't cover it then any remainder will be charged to your credit card).

  • HT2736 Can you make in-app purchases with a gift app?

    I have a friend that let me sync up and get fruit ninja and I'm going to make an in-app purchase but I want to know if you can make an app purchase with a gift app

    Ok, it was a slightly tounge-in-cheek response.
    What are the symptoms of the wi-fi problem?
    Have you reset the iPad?
    Have you proved the wi-fi works from another device?
    Have you reset the network settings on the iPad?
    Have you tried backing up and then restoring your backup?
    Have you tried restoring as a new device?
    tt2

  • HT3702 Tried to make an in-app purchase with new card information and they said purchase could not be made at this time and contact the iTune store for support. Can you tell me why?

    Trying to make an in-app purchase with new account information...purchase would not go thru...told me to contact the iTunes support.

    Nobody on these boards can. Click here and ask the iTunes Store staff for assistance.
    (101541)

  • I can not make an in-app purchase with my new debit card

    I can not make an in-app purchase with my new debit card

    go to settings/itunes & app store tap on the ID  and then view account, log in  and have a look at payment information to see available payment options

  • How to access an old account to update apps purchased with that account?

    How to access an old account to update apps purchased with that account?
    I cannot update purchased apps in iphone/itunes because I cannot enter the password for the old account. It does not exist anymore anyway.

    Restore from your backup of old computer.
    You can redownload past purchases.
    -> iTunes: Download past purchases
    FYI: Lab top is a roof over a science room.
    A laptop is a computer that sets on top of your lap...

  • If I buy an in app purchase with iTunes account "B" on my ipad, while logged into a different gamecenter, will it show up on Apple ID "A" email?

    If I buy an in app purchase with iTunes account "B" on my ipad, while logged into a different gamecenter, will it show up on Apple ID "A" email? I am trying to buy an in app purchase for Clash Of The Clans. My gamecenter is associated with Apple Account "A", but if I purchase the in app purchase under Apple Account "B", will it show up in Apple Account "A" email, due to it being associated via gamecenter? Please reply!

    No. An in-app purchase can only be made through the same iTunes Store account that the game was originally purchased through and will be linked only to that account. Receipts will be mailed only to the email address associated with that Apple ID. What Game Center account the game is linked to will be, to the best of my knowledge, irrelevant.
    Regards.

  • Looking for step-by-step tutorial for in-app purchase with iOS

    Hello everyone,
    I'm in a bit of an unusual situation here. I'm currently working in a company, the elder programmers of which are in a different project while my humble self is charged with the task to develop for iOS with Flash Pro CS5.5.
    Our Creative Director is planning the app to have an in-app purchase feature for some content. The problem is, that I have never dealt with such core programming yet, so I don't yet have an understanding of how to imagine the process of the in-app purchase itself. Sure, I googled and read through the tutorials explaining the certificates and the procedure of getting the information from Apple to be able to publish Apps. But I haven't found a decent tutorial explaining the programming part of an iOS in-app purchase with AS3 yet. It might be because developing with Flash for iOS is currently developing (haha) and so the community is still growing, but surely there are already people who managed to get it all running, one only need to know where to look for them.
    So is there anybody out there, who could either explain himself, or point me into the right direction where someone else explains it, so I can learn the full process of integrating an in-app purchase function into an App developed for iOS with Flash and AS3?
    I would be incredibly thankful for information of any kind, that would help me.
    Thanks in advance!
    gd-dept

    Hi Mike,
    We have conducted several webinars around the world and all the recorded sessions are available in the PSD calendar (https://psd.sap-ag.de/PEC/calendar/). Just search for B1 sessions archived in May/June this year 2011.
    You will need an SAP user in order to be able to see them.
    There are also some theoric sessions on the SMP at http://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000741411&_SCENARIO=01100035870000000183&_ADDINC=011000358700001192682007E& .
    All the exercises should be also published in that page soon (middle/end of October aproximately)
    Hope it helps
    Trinidad.

  • How do i approve my kids app purchases with family share

    how do i approve my kids app purchases with family share on my iphone?

    Hello andrewmarkp,
    With Family Sharing, you can approve purchases with the Ask To Buy feature. The following article provides helpful information:
    Family purchases and payments - Apple Support
    Approving purchases with Ask to Buy
    You can turn on Ask to Buy to require approval for purchases initiated by any family member who is under 18 years old.*
    iOS 8
    Tap Settings > iCloud > Family, and tap your family member's name.
    Turn on Ask to Buy. 
    OS X Yosemite
    Choose Apple menu > System Preferences > iCloud.
    Click Manage Family and select your family member's name.
    Select Ask to Buy.
    Ask to Buy is enabled by default for any children under 13 years old, and can be enabled during the setup process for any children 13-17 years old.* You can't turn on Ask to Buy for adults.
    If you don't wish to be billed for purchases initiated by a specific adult family member, you can remove that family member from the family group.
    *Ages may vary by country or region.
    Family Sharing requires a personal Apple ID signed in to iCloud and iTunes. Music, movies, TV shows, and books can be downloaded on up to 10 devices per account, five of which can be computers. iOS 8 and OS X Yosemite are required to set up or join a Family Sharing group and are recommended for full functionality. Not all content is eligible for Family Sharing. Content can be hidden by family members; hidden content is not available for download. Content downloaded from family members or acquired via redemption codes is not subject to Ask to Buy.
    Thank you for contributing to Apple Support Communities.
    Cheers,
    Bobby_D

  • HT201304 What happens if you are disputing an in-app purchase with a vendor that is in CHina and is not understanding your issue and refuses to add the disputed purchase or refund the purchase?

    I made an in app purchase and the game (Happy Farm) crashed but I completed the purchase on my iPad's Home screen because the Confirm purchase window popped up before I could relaunch the game.  When I launched the game the purchase (which was Gems) was not showing so I took a screen shot of the game window showing 211 diamonds, which was the amount I started with, (the purchase was for 258 gems so my total should be 499).  I then took a screenshot of myhome screen showing the time of day.  I went back to the game repurchased the same amount, the app did not crash this time and I was credited with correct about of gems 211 +258  = 499... Took a snapshot of that screen.  went back to my home screen and took a screen shot to show the time again.  Well after sending Happy Farm all of this evidence, they responded that they gave me all the gems and I just used them all.  I don't believe that they understand that my app crashed and during the 1st transaction and I clicked the Buy button (in the Confirm purchase window) on my Home screen not in the App, got charged but did NOT recieve the gems when I relaunched the app.  I have more proof than most people and they are still calling me a liar... I need intervention from iTunes App store and I don't know how to get them to mediate this dispute. Do you know how I can get in touch with the App store?

    https://getsupport.apple.com/Issues.action

  • In -App purchase With the absence of live app

    Hi,
    I am developing an application which features 'in-app purchases'. But i heard that a live app should be there in app store for this feature , currently i dont have any live application in app store.Anybody have an idea that to get in -app purchase feature with absence of live app.Also instruct me to test for in-App purchase for my app.
    If anybody have an idea, pls reply asap.
    Thanks

    I am developing an application which features 'in-app purchases'.
    Have you staged that app in the store (added with binary pending) yet?

  • HT4009 How do you get refund on misuse of apple id in "in app purchases" with kids games?

    These in app purchases within games are too easy for kids to get caught up in the occassion. In my case my 10 year old daughter made an error of judment having remembered my apple id from long ago she got sucked into the buy extra points with money. Am I just not up with the play on things and what is acceptable now but the way they advertise the BUY part is wrong! They make it look part of the game, no dollar signs... How do I get credited for this misuse of apple ID? Yes I have changed passwords and stopped in app purchases now!

    To Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

Maybe you are looking for

  • IWeb 08 won't publish

    iWeb 08 version 2.0.4 I was registered with MobileMe and had a MacMail email account, but when Apple decided to end MobileMe and replace with iCloud, my IT person said not to upgrade to iCloud as there could be conflicts with my software. I managed t

  • Move my iWeb site from my G5 to my MacBook

    I just got a new MacBook and I want to move my website from my G5 desktop to my MacBook so I can make changes from anywhere. I cant figure out how to get on the MacBook so I can edit it in iweb from my laptop. Thanks for any help you all can give.

  • Where to find Oracle EBS R12 vision demo document?

    I am looking for some Oracle EBS R12 vision demo related document. Could anyone tell me where I can download such document? I hope it can contain introduction, business summary, and basic use instruction. Thanks in advance!

  • Default export location not set to pbk file location

    (Pixel Bender 2.1.432154 On Windows 7 64-bit) After opening an existing .pbk file and going to 'File>Export Filter for Flash Player...', the default location is [Username]\Documents\Adobe\Pixel Bender in stead of the location of the file you are tryi

  • Can not burn anything with k3b

    I am incapable of writing cd's or dvds. cds fail right away but i have managed to burn a dvd at speed 0.3x way to slow. k3b output: System K3b Version: 1.69.0 KDE Version: 4.3.95 (KDE 4.3.95 (KDE 4.4 RC2)) QT Version: 4.6.1 Kernel: 2.6.33-rc4-rc4 Use