Recognize beyond payments

I created a game unit and at first, I had 2 versions: free and paid.

Now, I have merged the 2 versions: the free version has an in-app (IAP) purchase that allows access to all the features of payers.

First question:

I would like the IPA to recognize those who have bought the paid version and will allow them to unlock the paid features of the merged version. For this, I setup the SKU of the IPA to be the SKU of the paid version. However, it doesn't seem to work, he still asks a payment.

Sub BuySKU (string sku)
{
If (! pending)
{
pending = true;
BlackBerryIAP.Purchase (sku, null, null, null, null, null, null);
}
}

How should I proceed?

Question 2:

Once the payment is made on the merged version, if I remove my app and reinstall it, the payment system returns this message to the screen:

"You bought this article already and will not be charged to download it again. (AW30222i) »

But my app then reports that the purchase has failed.

How can I honor purchases?

Thank you

I found that, before calling BuySKU, I have to check if the element has already been purchased by calling:

BlackBerryIAP.GetExistingPurchases)

Then, in ExistingPurchasesSuccessfull, browse all purchases to see if my object has already been purchased. If you've already bought, don't call BuySKU and accept the product bought.

Sub ExistingPurchasesSuccessful (BlackBerryIAP.ExistingPurchasesEventArgs args)
{
foreach (var point in args. ExistingPurchases)
{
If (point. DigitalGoodSku == ITEM_1_SKU) {}

... recognize the purchased item...

}

pending = false;

}

Tags: BlackBerry Developers

Similar Questions

  • Creative cloud does not recognize my payment!

    Hello!

    After testing lightroom for 30 days, I'm subscribed to Lightroom and Photoshop two days ago and in my adobe my payment account is confirmed.

    However my creative cloud repeat me: "for lightroom trial period has expired" and when I run lightroom: 'develop module's diesabled, please renew membership

    Reinstall lightroom / creative cloud does not help! Do not remove the contents of the SLcache folder. What should I do?

    See my response #1 in I'm trying to reboot my creative cloud membership but the payment did not pass, which can do?

  • Is there a limit for vCenter / vSphere install can recognize?

    Hello community,

    I have a server I want to install VMware vCenter/vShpere, who was 8 1 TB drives and Raid 10 configuration plan. Is there a limit of ability as other installations of operating systems, i.e. cannot recognize beyond x - tb?

    I searched the community and support, but I find everything concerning post install / virtual drives. Thanks for your time / help!

    If you're going use vcenter based on windows and then try to check the max of the particular operating system configuration

    MBR Patition 2 TB only

    9.4 GPT partition zettabytes

    If you plan to install esxi vmware attempt to verify the OPN guide configuration form

    https://www.VMware.com/PDF/vsphere6/R60/vSphere-60-configuration-maximums.PDF

  • How to reactivate expired DW CS6 with new payment info

    Hello

    I've recently updated the credit card on my Adobe ID account because it has expired. My Dreamweaver CS6 also expired and I can't use Dreamweaver CS6 yet, he asked me to provide a serial number. What is the best way to access a serial number? It will take some time for the systΦme can recognize my payment? My renewal date is in may 2015.

    Thank you.

    If you have a subscription, you do not use a serial number.

    Uninstall your cs6, own (use the CC cleaning tool to solve installation problems |) CC, CS3 - CS6), download the desktop cc app (apps downloadAdobe Creative Cloud |) Trial free Adobe CC) and use installation cs6.

  • dissatisfied with the application, I bought

    I bought my free radio turner; Is that I paid for it, like ten dollars and continues to receive the note that I should buy it.

    I don't like how it is organized and presents the news. I tried to contact support for information on things

    that I do not understand about the app and to know how to stop not to recognize my payment. There is no support and no

    How to communicate with anyone and I want my money.  can someone help me?

    Contact support iTunes here

    (1189)

  • Payment of creative cloud does not recognize my address

    Expiration of my creative cloud subscription and when trying to renew it, "confirm payment address" pop up box says that my address is not valid. The error is: "billing address information is not valid." Please correct your address and try again. " It clearly isn't because I know my own address. I moved home I started the account (this is why I think that the account has expired rather than automatically renew as he did last year).

    I don't find a way to contact Adobe to get to this sorting. I have try all options continues to send me here. I left 1 day on my grace period until I can no longer use the software. Can someone from Adobe contact me on the number you have on my account.

    It's very frustrating.

    Jame, please contact customer service

    You can also try: http://helpx.adobe.com/x-productkb/global/phone-support-orders.html

  • When I try to go beyond the trial version, it is said that it does not recognize that I have photoshop

    I bought the creative cloud CS6 in 2013 and have since then had few problems of resettlement. I recently bought a new laptop and reinstalled creative cloud. I downloaded photoshop and the trial version has expired, but when I connect to my account it says that I do not have a "Member" (this was a one-time purchase of the student). I tried options on other forum responses to this topic (the test expired link here: Adobe Creative Cloud apps back after 2015 updated CC test mode ), but still does not allow me to continue using it. What should I do?


    I use 10 on your laptop brand new windows which is well able for CS6.

    Cloud of reading takes up https://forums.adobe.com/thread/2089127 for some ideas

  • This situation of credit card payment is beyond outrageous!

    I had posted this before and had no solution. I have not changed my bank or credit card, all my data is like when I signed up for more than a year. And I have the problem that adobe can't charge my card. I tried to re - enter the same data to see if that solved the problem. But I tried Explorer, Chrome, Firefox, Safari, Opera, Windows, and Mac and always says ' sorry something not on our end. "

    Yesterday I had left 10 days, and today I had three warnings in one day! and now it turns out that I have only six YES SIX days left! It just may not be the case. You want to tell me what should I do if the software stop working? What should I tell my customers?

    Are Arktos_aurus you referring to the discussion that you started http://forums.adobe.com/thread/1337038?  If so I recommend meet you Beverly in your previous thread.

  • Sdatellite M100 does not recognize the CD/DVD drive in Windows XP

    It is listed in the Device Manager, but with a yellow explanation mark.
    No mention of this in my computer.
    No icon.

    I am able to open the drawer and I put several types of cd/DVD in them without any result.
    The light flashes in orange on the door. The drive is listed as "Mat * advd-ram uj - 841 s-(sm)" in the bios under boot devices.

    I'm trying to figure out how to remove the drive and reconnect but it seems that I have to disassemble the thing to do and hesitate without a diagram.

    It is only a user guide in the downloads on this site so any help is appreciated: 0)

    Oh, I also downloaded the driver from this site for the drie. Before that, I uninstalled the drive in Device Manager, but there was no change when I installed the downloaded driver.

    Simply using a Ubuntu Linux live cd and it is running.
    Unfortunately its going to be hard to know for sure what the problem in this way because I don't want to install ubuntu on this machine it is someone elses machine and they are far from would you like to try linux.

    I'm in a live session now.
    Ah ok when I go in the media folder there is no mention of the cd/dvd drive.

    It is really a problem unless I can unplug physically the Mo and reconnect: 0 (Oh wait here it... is under 'cdrom' folder ' but only files with a relevance to the side by side with windows installation are mentioned... exe files, wubi etc..)

    Ah ok that's beyond my experience.
    Can someone give this amateur a tip?

    First remove the player of ODD (CD/DVD) from the list in Device Manager.
    Then access the registry and delete the Upperfilters and Lowerfilters completely from the following registry key values:

    HKEY_LOCAL_MACHINE \ FAT32\ CurrentControlSet \ Control\Class {4D36E965-E325-11CE-BFC1-08002BE10318}

    Finally, you must restart the device.

    Once again, windows will recognize the STRANGE

  • Catalyst to travel constantly crashes, does not recognize the files

    I have a PXW - X 70 and shot several hours to XAVC Long GOP. I tried to transcode lots in catalyst access the ProRes format and go constantly crashes. I have restart browse, search and see what files were not yet converted and repeat ad nauseum to get through one of the many prizes.

    At least the problem has a solution tedious, but more troubling is that browse simply does not recognize half of my images. When I try to open the files it says "There are no clips in the selected folder" even if in the Finder, I can see that there are many clips.

    Has anyone else had these problems? I just downloaded the latest version to browse, but who has not made a difference. I'm on a Macbook Pro, early 2013, just upgraded to Yosemite (but had these problems before the upgrade) and am beyond frustrated. I know I can buy prepared but I heard some people have problems with that as well, so I'd like to see if I can do this work before throwing money to solve the problem.

    Thank you!

    isybela, can you please try the following:

    Please reset the software preferences. To do this, hold the CTRL + SHIFT keys, and then open catalyst Browse. Hold down these keys until you see "do you reset all the preferences to browse catalyst to the default values?"

    Then, release the keys and click Yes.

    Let me know if the software still crashes after that.

  • Cannot make the payment or connect to Xbox 360

    Hi im having trouble connecting on my xbox360 and im getting this page saying: we need the e-mail address and the password for your Microsoft account so we can check and update your Xbox profile security when I press continue so I put in my email and my password and when I do that it is said that email and password did not work try again or use your app if password you set two-step verification and it does not make sense because I know my password and my email and if I say that I can't access my account computer gives me just the options that him does not work for me because I don't want to change my password cause I did it so many times and no one else use my microsoft account

    Original title: cannot make the payment or login

    Hello

    Your Question is beyond the scope of this community...

    I suggest that repost you in the Xbox Forums.

    "Xbox a Preview program FAQ.

    http://support.Xbox.com/en-us/Xbox-one/system/Xbox-update-preview-FAQ

    'Home'

    http://forums.Xbox.com/

    "Xbox forums.

    http://forums.Xbox.com/xbox_forums/general_discussion/f/3817.aspx

    _________________________________________________

    "Xbox Forums directory.

    http://www.Xbox.com/en-us/forums

    General

    Material & Discussion Services

    Xbox support
    Agent hours: M - F 09:00-17:00 PT

    Law enforcement forums

    Technical support of Xbox Live rewards
    Xbox Live rewards Squad hours: M - F 09:00-17: 00 PST

    See you soon.

  • Windows Server 2012 does not seem to recognize the space between the program and files

    I installed 'R' in D:\Program Files.
    Then I need to install another application that must refer to this path and validate during its installation. Installation of the next application saying that there is a "Invalid Version of R.

    If I install R in the following directories, it is recognized and my next application installed successfully:
    C:\Program Files
    Files S:\Program
    D:\R

    Windows Server is not recognize the R application properly installed in "D:\Program Files." Windows runs into the space between "Program" and "Files" and put an end to the execution of this order.

    The application I am trying to install the message 'Invalid Version of R' returns because he can't run the command check correctly. Because nothing is returned from the R.exe, he is unable to continue. This issue seems to be related to Windows and once R.exe can be run correctly D:\Program files, I would expect demand to continue to install. Is anyway getting D:\Program Files to be recognized as the other 3 directories I mentioned?

    Hello

    Post your question in the TechNet Server Forums, as your question kindly is beyond the scope of these Forums.

    http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?category=WindowsServer

    See you soon.

  • Computer will not recognize new keyboard, KU-0841 in Vista

    The other day, I bought a new key board and I'll have a lot of problems when trying to use it.
    First of all I can't download his material, which means I can't even recognize the keyboard of the computer. I've tried everything I can think of, but I still can't get it to work. This model KU-0841. If anyone can offer advice on how to get this keyboard to work, I would really appriciate it. : D

    My new keyboard is having some major issues regarding the material and use

    You can get in trouble with your device drivers.  Go to the Device Manager by going to start / find and type Device Manager and enter and then double-click on the program icon that appears.  Check each device to a red x, yellow! or white?  These identify devices with problems probably (drivers, but also of conflict or something else).  Click on each for more details and troubleshooting tips.  If you need to get drivers (and you should you do to the keyboard at least and all others you have time to do - they help way beyond simply solve this problem), let the computer dealer or the manufacturer of the device (NOT of Microsoft Updates).  In fact, you must disable automatic updates in Windows Update driver as follows:http://www.addictivetips.com/windows-tips/how-to-disable-automatic-driver-installation-in-windows-vista/. Follow these steps to get the drivers: http://pcsupport.about.com/od/driverssupport/ht/driverdlmfgr.htm.  Once you have the drivers, you can install them via the Manager device as follows:http://www.vistax64.com/tutorials/193584-device-manager-install-driver.html. Make sure driver debice arises and is functioaing properly.

    Are you sure that the keyboard is compatibble with your version of Vista? http://www.Microsoft.com/Windows/compatibility/Windows-Vista/

    The old stilll keyboard works fine on the computer?  Have you tried the new keyboard on another computer to see if it works there?

    Who is the manufacturer of the keyboard?  Does it come with the firmware or software tha must also be installed?

    Go to start / Control Panel / Add Hardware and have the system search and install a new hardware it finds.  It can find and install your keyboard.

    I hope this helps.  Keep me posted.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Comptuer doesn't recognize the password, will not open Windows XP

    Recently spent a computer on the network to use domestic and now it does not recognize my password. Deleted some files network but on sign-in, it says that the server does not recognize the password. Cannot go beyond the login screen and it offers no option to bypass. Is there a way to get around this? Tried to start SafeMode but get the same login screen. Maybe I deleted some files network changing for a House count. (the unit is 6 years old). Help.

    He was part of a network that no longer exists. Could open XP by using a different password, but the original no longer works. Am trying to have deleted all of the network files.

    Thank you

  • Integration of gateway payment and response readings

    Hi all

    can anyone suggest what steps should I follow to integrate to the payment gateway.

    I have a Gateway URL q I need to hit them on the browser. After entering the card details, I will get the response of the

    Bank suucess and other details. This response again once, I need to read.

    example of Webworks.

    Need help please...

    Ah, I see. It has to do with the domain (localhost) by having one different origin than the other (https://www. * .com).

    This is related to the security of the browser. Have you tried on a physical device with web security-disabled? This * may * give you the freedom you need to run the action.

    I'm not an expert on this stuff (it goes beyond the development of BlackBerry in the deeper parts of web development), but here is my understanding

    If the www.***.com site has Cross origin resource sharing enabled, it can also allows you to perform the action if the URLS are on the same Protocol (for example HTTP or HTTPS; now you mix HTTP and HTTPS, one of each.)

    Alternatively, there is a discussion here on postMessage, which may allow you to communicate between the container and the iframe:

    http://Viget.com/extend/using-JavaScript-PostMessage-to-talk-to-iframes

Maybe you are looking for