Payment API 1.8

In App World documentation 3.1 or higher is required for the payment of the service API.

That's fine, but all the simulators that I find are 2.X or 3.0.X... I tried to upgrade the world app on the Simulator, but after that it requires a restart, then I restart fledge and the old version is still there.

How am I supposed to test in payment for the app on the Simulator, if I can't get the latest version of the App World.

I tried (9900 sim, 9790, 9360, 9800)

I don't have a machine to test on.

http://supportforums.BlackBerry.com/T5/BlackBerry-App-world-development/appworld-not-installing-on-s...

It fixed by following their steps, remove files from the appworld and reinstall.

For some reason any it endless tells me I have to reboot my device. Whenever I reboot it keeps invites me and also pushes me in the middle of tests in app purchase. I guess that's due to problem with Simulator App World.

Tags: BlackBerry Developers

Similar Questions

  • Error ID 4010 with payments API

    Hello

    I have an application that uses the api native payments, I tested it with "local mode" and it works well.  I have published, but now I get an error message when you try to make a purchase:

    He had problems this purchase. Please try again or visit Blackberry App World Support for more information. (Error Id: 4010)

    The text of the actual error of paymentservice_event_get_error_text does not help much:

    "He had problems. Please try again. {4010} ".

    So in a panic, I pulled the App!  What is this error code?  How can I debug this?

    The actual call I make is:

    int res = paymentservice_purchase_request(apProductID, NULL, NULL,
                NULL, NULL, NULL, get_window_group_id(), &mPendingPurchaseRequestId);
    

    with apProductID being a string representation of the number of virtual good details on the portal provider "ID".

    The status of the App is "approved", and the virtual condition is "Up for Sale".

    Thank you

    An update, the 4010 error is caused by the way empty for the content ID and SKU values when you try to make a purchase. Adding value has been confirmed with this dev (off wire) to solve the problem.

  • Direct payment API documentation

    Hello

    My company just purchased DPS earlier.

    I would like to ask where we can find the documentation on how to integrate direct payments of the API, we intend to control access to our folios through our own authentication system.

    Thank you.

    I know this is an old debate. In the interest of those who seek the web and the forums to find answers with key words, I would like to be updated here with links to documenations and and the API

    Right direct API documentation: http://download.macromedia.com/pub/developer/dps/entitlement/direct-entitlement-api.pdf

    Run the starter kit of right: http://www.adobe.com/devnet/digitalpublishingsuite/articles/direct-entitlement-starter-kit .html

    Landing page to the right of all partners will have to: http://www.adobe.com/devnet/digitalpublishingsuite/entitlement.html

  • REASON_UNKNOWN payment API

    Hello

    Help, please!

    The PaymentEgine.getInstance () return a null value, even if I check PaymentEngine.isAppWorldInstalledAndAtCorrectVersion ().

    After that, a getPrice (myDigitalGoodSku) triggers a PaymentException with REASON_UNKNOWN! What can I do with it?

    I'm debugging on a BlackBerry Torch 9800 with OS 6 device and I did not ask AppWorld update.

    A I missed something?

    Here is my code:

    String subscriptionText = " ";
    try
    {
        PaymentEngine.isAppWorldInstalledAndAtCorrectVersion();
        pEngine = PaymentEngine.getInstance();  //Return null if AppWorld missing or wrong version
        PriceSet oneMonthPriceDescription = pEngine.getPrice(_oneMonthArguments.getDigitalGoodSku());
        subscriptionText = oneMonthPriceDescription.getPriceSetValue(PriceSet.SUBSCRIPTION_PERIOD_NAME) +" "+ oneMonthPriceDescription.getPriceSetValue(PriceSet.SUBSCRIPTION_RENEWAL_PRICE);
            }
            catch(IllegalArgumentException e)
            {
                System.out.println("Payment stuff : wrong SKU or ID.");
            }
            catch (IllegalApplicationException e0)
            {
                _view.popup(FotochatBBResource.NOT_INSTALLED_THROUGH_APP_WORLD);
            }
            catch (DigitalGoodNotFoundException e1)
            {
                _view.popup("DigitalGoodNotFoundException");
            }
            catch (UserCancelException e2)
            {
            }
            catch (PaymentServerException e3)
            {
                _view.popup("PaymentServerException");
            }
            catch (PaymentException e4)
            {
                String report = "No more infos";
    
                if( e4.getFailureReason() == ResultCodes.REASON_APP_WORLD_NOT_CORRECT_VERSION)
                    report = "REASON_APP_WORLD_NOT_CORRECT_VERSION";
                else if( e4.getFailureReason() == ResultCodes.REASON_ARGUMENTS_ERROR)
                    report = "REASON_ARGUMENTS_ERROR";
                else if( e4.getFailureReason() == ResultCodes.REASON_CANCELED)
                    report = "REASON_CANCELED";
                else if( e4.getFailureReason() == ResultCodes.REASON_GOOD_NOT_FOUND)
                    report = "REASON_GOOD_NOT_FOUND";
                else if( e4.getFailureReason() == ResultCodes.REASON_ILLEGAL_APPLICATION)
                    report = "REASON_ILLEGAL_APPLICATION";
                else if( e4.getFailureReason() == ResultCodes.REASON_NONE)
                    report = "REASON_NONE";
                else if( e4.getFailureReason() == ResultCodes.REASON_SERVER_ERROR)
                    report = "REASON_SERVER_ERROR";
                else if( e4.getFailureReason() == ResultCodes.REASON_UNKNOWN)
                    report = "REASON_UNKNOWN";
    
                _view.popup("PaymentException : "+report);
            }
    

    Thanks in advance.

    Hello
    I've just updated my AppWorld and miracle! This works.

    It seems that isAppWorldInstalledAndAtCorrectVersion() don't really do its work...

  • Get the two login screen when using the api of payment

    Hello

    I get the extra login screen when you use the payment api.

    When I pressed the button buy a login screen is displayed which is OK.

    After I get the connection information and tap on buy buy button is successful.

    Next, I check the purchase by calling the checkPurchase() method.

    After that, I see the login screen again...

    Here is my code...

    public PurchaseProduct (String product) {}
    TODO auto-generated constructor stub
          
    SKU = product;
    name = product;
          
    If (engine! = null)
    {
    engine.setConnectionMode (PaymentEngine.CONNECTION_MODE_LOCAL);
    PurchaseArgumentsBuilder arguments = new PurchaseArgumentsBuilder()
    .withDigitalGoodSku (sku)
    .withDigitalGoodName (name)
    .withMetadata (name);
    Try
    {
    Purchase purchase = engine.purchase (arguments.build ());
    Dialog.Inform ("purchase is successful.");
    }
    catch (IllegalArgumentException e)
    {
    Dialog.Inform (e.getMessage ());
    }
    catch (PaymentException e)
    {
    Dialog.Inform (e.getMessage ());
    }
    }
           
    }
       
    public boolean checkPurchase (product of the chain)
    {
    Try
    {
    Purchase [] = engine.getExistingPurchases (true);
               
    If (purchases.length! = 0)
    {
    for (int i = 0; i)< purchases.length;="" i++="">
    {
    If (Purchases [i] .getDigitalGoodSku () == Product)
    {
    Returns true;
    }
    }
    }
    on the other
    {
    Dialog.Inform ("not bought");
    }
    }
    catch (PaymentException e)
    {
    Dialog.Inform (e.getMessage ());
    }
    Returns false;
           
    }

    Thanks in advance...

    Hi pprateek,

    The behavior you describe, is what one would expect in this scenario. No matter what time you want to retrieve App World a user related information, you will need to provide their credentials.

    The first pop-up would happen when you call to the:

    Purchase purchase = engine.purchase (arguments.build ());

    Note that, if this succeeds, the object returned toPurchas will contain information about the purchase that was just to finish. This object can be used to check the details of the purchase that has just occurred.

    http://www.BlackBerry.com/developers/docs/payment/1.0api/NET/rimlib/BlackBerry/API/payment/PaymentEn...

    The second login screen happen when you call:

    Purchase [] = engine.getExistingPurchases (true);

    Depending on the application, the same credentials of App World cannot always ask. So if you ask that existing App World a user purchases, you will need to enter their credentials. As well for security purposes (I guess), someone buys an article is not necesserily because he agrees immediately to have additional details about their account recovered.

    The famous buy may be asked to confirm the details of your current purchase, and if you want to get a list of all current purchases, the user must enter their credentials again.

    Erik Oros

    BlackBerry Development Advisor

  • WebWorks API payment issue; persistence/identification of the purchase.

    I have a question for anyone who is familiar with the payment API WebWorks.

    In an application, I did pretty well, I intend to have a content purchasable electrode.

    I put everything in place so that if make you a purchase, a value of localStorage is created. The function to launch the content purchased checks if the value of localStorage exists, and if it isn't the user is directed to the premium 'content' section. If it helps, here's the code:

      function getPremium() {
        try{
          blackberry.payment.purchase({
          "digitalGoodID":"myGoodID",
          "digitalGoodSKU":"myGoodSKU",
          "digitalGoodName":"Digital Good",
          "metaData":"metadata",
          "purchaseAppName":"App Name",
          "purchaseAppIcon":null},
          success,failure);
       }catch (e){
         alert ("Error" + e);
       }
     }
    
     function success(purchase) {
       localStorage.setItem('premiumpurchased','yes');
     }
    
     function failure(errorText, errorId) {
       alert("Error occured: " + errorText + ", " + errorId);
     }
    
    //Function called to check if premium content was purchased
     function checkPremium() {
    if (localStorage.getItem('premiumpurchased') == 'yes') {
    bb.pushScreen('premium/index.html','premium');}
    else {getPremium();}
    }
    

    Now, if the user of the application content purchases and then deletes the app, the localStorage is removed.

    If they attempt to make a purchase once again, I think I know that they will have (because it is the electrode), which is what I want to do (in other words, I don't want people to be charged twice).

    But in this case, how the app would re-create the localStorage value so that premium content are accessible? Or y at - it one another, better way other than creating a value of localStorage for this?

    I read http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/Sample-App-BlackBerry-WebWorks-P... and https://developer.blackberry.com/html5/apis/blackberry.payment.html and couldn't find an answer on the part of the people.

    Thanks in advance to anyone who can help you.

    Little late, but I can confirm that the above code works.

  • question of payment in 10 blackberry gateway webworks to phonegap

    Hi all

    I'm working on PhoneGap app for Android, iOS, BB, WM. In that I have a problem with the payment for BB 10 webworks gateways. I have made in Android and iOS when I'm doing this feature in BB, WM, it only is not implemented correctly some forums shows as Cordova is not suppaort payments in BB, WM so can someone help me please respect the web 10 BB payment gateways work.

    Thanks and regards,

    We have a new payment API sample on GitHub as well as a new blog post (with links) http://devblog.blackberry.com/2014/04/make-money-with-your-webworks-2-0-app/

    Probably worth it. I show how to apply a basic payment.

  • Help payment integration

    Mr President
    I'm trying to add in-app payment in my Blackberry webworks app 10.
    My code for "check if paid ' and 'pay' is: -.

    checking if paid

    For future visitors, the issue was the result of a previous version of the SDK WebWorks, which did not include the payment API. Update to the latest version of the SDK has solved the problem.

  • Error in payment on the test device

    I use payment API 1.8. I wonder if test on the device, I should receive a payment error when you try to buy. Is it because only its in draft mode or because something does not work properly? I got an unknown error and also found digital assets.

    Hello

    You still see this problem?  If so, please tell me the name of your app and I'll look into it.

    Thank you

    Jordan

  • Payment Wizzard does not well placed on the Alpha unit

    Hello

    I created a digital product on a product that is in draft mode.

    I followed the instructions to integrate payment Service to

    https://developer.BlackBerry.com/Cascades/documentation/device_platform/paymentservice/selling.html

    and then I tried test the application on my Alpha device.

    The purchase feature is triggered by using the following code:

    PaymentService:getInstance() .requestPurchase (sku, this, SLOT (purchaseResponse (bb:latform:urchaseResponseInfo)));

    The problem on is that the popup wizzard payment provided by the payment API is not well positioned. It is positioned on the top of the screen and half the wizzard frame is hidden (I think the hidden part contains the TextFields to the credentials of the user.

    Anyone with the same problem?

    Hello

    It is a known issue, it should be resolved in the next version of OS later this month.

  • Should I me Integrator unique ID to multiple requests for payment service provider?

    Hello-

    My company manages the management of subscriptions for several digital content publishers. We are putting in place direct payment API signInWithCredentials, and. Al for a particular provider and I'm curious to know how extend us these same APIs to handle applications from different vendors?

    Do I need an integrator ID from Adobe to the unique address for each provider, or are they assigned us to a unique ID? If a unique ID, how to direct calls to the database specific to the seller? How did Integrator ID related to the URL/Service Service Auth URL?

    Thank you

    William

    N ° the API contains "appId" and "appVersion" on each method so that your application can detect which application requests information of law.  Make sure that breast of the DPS App Builder, you check the box "Send AppId and AppVersion".  There is no reason to ever do not select no not this box - even if at the end of the day, you choose to ignore the additional parameters.

    While I'm on the subject... also ignore the dates of coverage and Don ' t bother sending ProductID in the body of the request for payment.  This has caused a lot of confusion.  If you really know what they are and why a digital system of their desire, then go ahead.  But for 99% of the use cases, they are useless.

  • Confirm a purchase - dialog?

    I have a button next to each of my app purchase buys in a list view.

    When the user clicks on it, it comes up with a box with test settings of payment such as purchase price, subscription settings etc. (test mode).

    My question is, when the application is not in test mode, what do I need to create a dialog box that is displayed when the user clicks on buy, asking the user to confim a purchase or payment api do automatically?

    The payment Service manages the entire user interface for purchases, all your application needs to do is to make the purchase request and handle the response (success or failure).

  • In app' buy workflows

    Hello

    I have a problem with my last request, she got rejected because 'the 'Gift' page in the app for BlackBerry ID links, please remove it since it does not meet our guidelines'

    In my application, I have a donation option in the menu of the application:

    It goes to this page:

    And if you click on gift, that open the store. And its connection:

    Could you help me identify what the problem is? I don't understand what I should have done...

    Thank you.

    I'm not sure what the team wants do you. To access the payment API you need the user to connect to BBID (I recently had to remove a check against it because a customer without BBID on their devices has complained).
    Better ask about the review team (I know, they only with large arrears or even not responding at all, if you do not receive a message of reply here once again and I'll get it climbing)

    as a sidenote: change "this not" to "this is not.

  • Sample code for OS 10 for installation and upgrading applications programmatically

    How to install an application programmatically on BlackBerry OS 10?

    For BlackBerry Java OS (until 7 of the BONE), we have this great article how to install an application programmatically:

    http://supportforums.BlackBerry.com/T5/Java-development/programmatically-install-and-upgrade-Applica...

    We use to distribute internal business applications. It is an essential feature for businesses. But of course it works different in BlackBerry OS 10.

    I can't find a similar API for BlackBerry OS 10. I would be grateful if someone could point me to the API which is similar to the former CodeModuleManager and CodeModuleGroup that allows to install applications programmatically. Is there a similar article like the one mentioned above that works for OS 10 and PlayBook?

    Thanks in advance!

    There is no api to do this all downloads are handled by BBW.

    The closest you could get to what you want to do is plug into the in-app payment API and add features to your core application.

    There are other solutions to see with the sideloading but it is probably too heavy for your users, search the forum for the many other thread similar to your requests.

  • people getting an e-mail address/blackberryid during the installation of your application.

    Hello

    I have a question, I installed the app BeWeather Pro today, during the installation, the only permission that I have authorized has been 'place '.  A lot of my surprise moments later I received an email from welcome with a registration code to my email/blackberryID account...  How the app got my blackberry ID to email me?, I guess it is in payment services that I had to log in using my ID / password before installing the app?  If so I can't seem to find any property of blackberryID in the payment api services in order to extract this info...

    Thanks in advance.

    It's likely auto.  In payment services (addons or ordinary) If you set your application to use a product key, you will need to provide the BB with the keys (to a point), and they send out them, as I have noticed with other applications that require keys as well.

Maybe you are looking for

  • Add address of the sender to the address book using filtaquilla?

    When the sender is not in the address book, I want to give the user an option to add it. Is this possible with filtaquilla?

  • iPod Touch will not sync error (-50) received

    I constantly get a message that an error has occurred for the synchronization of the iPod Touch (-50).  My operating system is a 10.11.2 iMac and iTunes is 12.3.2.35.  All updates have been made now a time on.   Don't know what to do next.

  • scanning from my pc

    How can I find the screen to scan from my printer hp 5510d series pc, I'm confused... I can't remember where the controls are on the pc...

  • Can't get my design work, if someone could lend some advice?

    Hello I'm a complete newb to v8.6.1 from Labview.  I come from the .net world and I have difficulties making the transition, some advice would be greatly appreciated. I have attached my .vi I came up with, but I hit a wall and I can not get this desi

  • I was told that I had been \hacked\

    This showed on my list of show dlog ontario, sent from my yahoo account than I am with the subject line / HI /. [message deleted spam links- Moderator] What's happened and how can I solve this problem and also to ensure that this won't happen again?