In payment App tests

Hi, I followed all the steps described by the following documentation: http://docs.blackberry.com/en/developers/deliverables/20374/index.jsp?name=Development+Guide+-+Payme...

Now I'm in the test phase and were not able to see if it works or not. When I build the arguments of purchase:

PaymentEngine.getInstance().purchase(arguments.build());

App World is implemented as planned. However, with a digital good for all, I see prices of $2.99 when I specified the price differ from each other ($ 0.99 to $ 3.99). The credit card information as a "sample" on the purchase screen. When I purchase the item, I know that it has successfully treated, but I don't know if that means it will work as expected (purchasing process) when judged by non-sandbox account.

Please help me! Thank you!

Yes, you should be able to use the real account sandbox if you get rid of this line.

Tags: BlackBerry Developers

Similar Questions

  • If I buy 1 annual contract with monthly payment app am I then linked throughout the year, or can I cancel after 3 months and then not pay the rest of the year?

    If I buy 1 annual contract with monthly payment app am I then linked throughout the year, or can I cancel after 3 months and then not pay the rest of the year?

    I found the answer myself via chat. the answer is Yes, you can cancel, but you must pay 50% of the remaining months of the annual contract

  • Publish in the In - App tests. "The object you requested is not valid."

    I am trying to test In - App, but I can not able to test it.

    I've implemented this code. and after that for the test test in the BlackBerry World sandbox.

    I downloaded my app as a project and added my a/c in the sandbox sand.

    I can't find my device app on AppWorld.

    When I add ContentID (virtual goods Id) in development mode.

    I can see my good virtual but there is a "Not available for this device" message in red.

    When I test my application through debugging I get this message "the object you requested is not valid."

    I also checked the version of the device and the build version. My version of the device is greater than my build version.

    I downloaded yesterday...

    Thanks for your reply...

    I found the solution...

    I tried to search for the application by name...

    I got my app via enter sku or Application id in AppWorld > parameters > Decelopement Mode > ContentID

  • PlayBook Beta 2.1 payments App

    With the beta release of yesterday, in-app purchases are now supported in the Android execution environment. Can anyone find all the details on the implementation of these?

    https://developer.BlackBerry.com/Android/apisupport/ said

    "Vending (in App payments): com.android.vending is supported in version 1.1.0 of BlackBerry tools SDK for Android applications but is only compatible with the BlackBerry Tablet OS 2.1 (beta version)."

    com Android.Vending is the same package name used in existing Android applications, should that mean that current code IPA should 'work '?

    Yes it's true, from PlayBook OS 2.1 Android applications support payment In - App. Most of the time he's going to 'work', but there are a few things to note:

    (1) the signing of the transaction response will not fill

    (2) all purchases are made through App World

    (3) purchases must be both

    More information (documents, Blog) on his way in the next few days!

  • Payment getItemState() test Sandbox

    IM test in Sandbox on my device. After extraction and complete purchase I check to see if the purchase has been accepted by the practice

    purchase.getItemState () is Purchase.OWNED

    However it is always equal Purchase.NO_VALUE_SET

    It is safe to assume that once the goods are on sale and app that when buying it will be actually created to OWNED?

    You are right. Sandbox tests does not create a real transaction so no purchase actually didn't get saved, that's why you see this behavior. Once purchases are made outside the sandbox, that States to purchase must return as scheduled.

  • App - test available, you can keep track of the health

    Is there anyway to add a new test that you want to keep track of the application?  Some test results important for certain medical contains are not available, and I want to add and then on my dashboard.

    Thanks for the help!

    No, not for the moment.

    Comment asking this feature here:

    http://www.Apple.com/feedback

  • 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.

  • iOS App Store bought article will appear not (Chatous chip)

    I bought tokens Chatous and they do not appear in chatous account even if I bought and the amount has been deducted from my itunes account. Not only yesterday my account chatous was not connected even after that I logged it so that tokens purchased could appear, but it didn't and I got problem even more even when my account has been verified. Today the account connected but it was without the chips, I bought and paid for. I've been waited more than 24 hours so that they appear. I don't have that except apps tested by Apple to be put in the App Store. Im stuck here. I lost about $ 5 and have no Chatous token. Can you guys find any solution to this problem any help appreciated

    Have you contacted the developer of the application? If they cannot / will not help try to contact iTunes Support: http://reportaproblem.apple.com or https://www.apple.com/emea/support/itunes/contact.html

  • How long can I use Xcode debugging iphone iPad app?

    I'm developing an application based on reading excel sheet. I want to do app test cases every day, I'm uploading excel sheet to Amazon to see my data in the iphone. So I use Xcode to debug in the iphone 7 5. So I want to use this app for two months. I have not downloaded in the App store. So how long can I use this app in my iphone? Please give me some suggestions. Thanks in advance.

    If you have installed the app from Xcode, you can use it forever.

  • BlackBerry AppWorld Service payment for providers in Nigeria

    Hello.

    Please how to set up the payment as a global seller of app service.

    I'm a developer in Nigeria. PayPal does not accept registration from Nigeria.

    So please any suggestions on how to make use of the app world payment service will be highly appreciated.

    While I can develop more applications in order to make money in the app world.

    Thank you.

    PayPal is set up it is for security reasons. Payment processing is done by Digital River, who also manages the product for sellers of BlackBerry App World.

    You can earn money by setting a price for your application. Payments-app is a way to monetize.

    Other methods of monetization to consider:

    • Price of the premium for the app
    • Advertising
    • Freemium (two versions of the app, free/paid)
    • Develop applications for businesses, billing customers, free in App World
    • Develop the app in conjunction with a web service
    • Sponsorship of the app

    I'm sure that there are companies in Nigeria who want to pay you to do an application for them. You can even make more of $$$ that way.

    Good luck to you, Sir.

  • Persistent data and uninstall an app problem.

    Hello

    I'm checking the storage of persistent data with a very silly application, but maybe I'm do sth wrong as that it does not work as I supposed it should.

    My application only checks if there is some content in the store persistent and if not, it creates. I want to check that when the application is uninstalled, these persistent info will be deleted, but as I just test, it is not.

    This is my code:

     public TestP(){
            String info = "nothing";
            synchronized(store) {
                String currentinfo = (String)store.getContents();
                if(currentinfo == null) {
                    //we create it
                    String contents = "something";
                    store.setContents(contents);
                    store.commit();
                } else {
                    //we retrieve it
                    info = currentinfo;
                }
            }
    
            MainScreen ms = new MainScreen();
            ms.add(new LabelField("Testing Persistance..."));
            ms.add(new LabelField(info));
            ms.add(new LabelField("That's all..."));
    
            pushScreen(ms);
        }
    

    And that's how I create the store

    'com.app.test.TestP' at long---> 0xcdbcc77c2e7ecf8cL
    Bank private static PersistentObject = PersistentStore.getPersistentObject (0xcdbcc77c2e7ecf8cL);

    The first time I run my application, the display will return to "nothing" and the text next time 'something '. It's ok, but when I uninstall my application, the first time also shows 'something', which according to me, that he should not be allowed.

    I do something wrong?

    How persistent store information can be removed on an uninstall of the application?

    Concerning

    Your persistent data are of type String, which is a common object of the rim.  It is not necessary for the BB to delete your data - another application can use it.

    However, if you used one of your own classes - even if it comes extends the string and does nothing else - then it will be deleted when your Application is removed, because with your driveway application, there's nothing on the device which includes that Object.

  • Purchase own apps

    Hi guys

    Question:

    New update of my application is Freemium. If I download and try to pay the payments app goes on normally, but my PayPal accounts not charge anything.

    This means that OWN apps we don't need to pay or? Because in my freeemium code is everything is ok.

    Thank you

    You have your BBID (e-mail address) also registered in the portal provider as one of the accounts 'sandbox '? (Connect to the provider portal and check in the sandbox on the left menu, if you are not sure).

    That should be, in my opinion, the ONLY way to the device might think that a given application is 'your' about how else have an idea that an app that you download is the one you wrote?

    The only other possibilities I can think aren't that you replace a local signed copy of your application, and there are some data that affect this (whereby case you must uninstall it before installing BBWorld), or that you have something that makes hard-coded in the app behaves that way especially for you as if she recognized PIN of your device or your own BBID.

  • interface with App World

    Hello

    I have an application (the application name: App Test) that contains multiple cod files.

    In one of the code files (for example, a.cod), there is a screen with a button. When the user clicks this button, he calls App world and leads to another application (application name: App 2) App World.

    There is a good example in this regard:

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/1573156/How_To_-_Inte...

    But, when I tried this example, the ContentID is always null (or empty), as well as the call for App World has failed.

    Can anyone help? I use the JDE 4.3.0.

    Thank you

    just tried the content id is the id of 4 digits App World.

    as the xxxx:

    http://appworld.BlackBerry.com/WebStore/content/xxxx

  • How can I access my app folder... BlackBerry Playbook os

    Location:

    My webwork app works fine except for one thing. I have a button that needs to open a pdf file that is buddled with the app say its in the root directory and its test.pdf named. My idea was to locate the position of the file (to find the path of the application). Then use call function to launch the adobe reader software to open the file.

    ex: path-of-my-app/test.pdf

    I came across this:

    BlackBerry.IO.dir.app.Storage.Path + "test.pdf".

    BlackBerry.Invoke.Invoke ({}
    target: "com.rim.bb.app.adobeReader."
    Action: "bb.action.OPEN."
    type: "application/pdf"
    URI: dir.app.storage.path + "test.pdf".
    (}, onSuccess, onError);

    It seems that the way invoke does not work for BB playbook os.

    Can someone help me with this?

    Thank you very much!

    problem solved:

    I have corrected the action script code:

    public function stringToBlob(data:String, encoding:String):Object
    {
               var characterSet:String = translateEncodingIntoASCharacterSet(encoding);
                var ba:ByteArray = new ByteArray();
                if (characterSet == "base64")
                {
                    var base64Encoder:Base64Encoder = new Base64Encoder();
                    base64Encoder.encode(data);
                    ba.writeUTFBytes(base64Encoder.toString());
                }
            else if (characterSet == "binary")
            {
            var base64Decoder:Base64Decoder = new Base64Decoder();
                    base64Decoder.decode(data);
                    ba = base64Decoder.toByteArray();
            }
                else
                {
                    ba.writeMultiByte(data, characterSet);
                }
    
                var bm:BlobManager = getBlobManager();
                var blobId:String = bm.createBlob(ba).id;
    
                return new WebWorksReturnValue(blobId).jsonObject;
            }
    
    http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/stringToblog-save-image-problem/...
    
    Thanks for all peardox!!!!!!!!!
    
  • The apps are setup in the trial on the second computer

    I have a subscription to creative cloud through my work. I have all the applications installed on my work computer, which is a Mac, and they work perfectly well. Whenever I try to install apps on my computer at home which is a PC, applications to the trial download. I don't have a third computer and no one else is using my account. I would not be able to have the full version of the application on two computers? When I'm at work and I visit Adobe.com and go to the page "Download Apps" I have the ability to download apps, but at home, I have the option to download the trial. I enclose the reference images.

    Can someone help me please?

    Screen Shot 2016-01-21 at 3.35.52 PM.pngScreen Shot 2016-01-21 at 3.36.03 PM.png

    Yes, sign in using your adobe id and install the application of cc on your 2nd computer desktop, https://creative.adobe.com/products/creative-cloud

    If applications are available as cc app tests, Troubleshooting FAQ: what should I do if I have a subscription, but my application acts as if I had a trial?

Maybe you are looking for