BY buying getTransactionId() get set to zero

Hello friends,

I do to purchase the app. purchase of work id very well. but is problem when I use getTransactionId(). I get 0.

my code is below.

public boolean startPurchase() throws IllegalArgumentException,IllegalApplicationException,PaymentServerException, UserCancelException,PaymentException,AppWorldUpdateRequired  {
         PurchaseArgumentsBuilder arguments = new PurchaseArgumentsBuilder()
        .withDigitalGoodSku( digitalGoodSku )
        .withDigitalGoodName( digitalGoodName )
        .withMetadata( digitalGoodName )
        .withPurchasingAppName( "PushLegal" );
       System.out.println("***************startPurchase************************");
             Purchase purchase= engine.purchase(arguments.build());

             Dialog.alert("Transiction id:: "+purchase.getTransactionId());
            transactionId=purchase.getTransactionId();
            System.out.println("***************startPurchase retrn true************************");
            return true;
      }

I get a value of 0 when I use the purchase.getTransactionID (); What should I do? like in years...

Thank you and best regards,

Ajay Patil.

If indeed, you post your sales request, download from outside the sandbox and actually buy a digital camera, then you should receive a valid Transaction ID.

Tags: BlackBerry Developers

Similar Questions

  • BY buying getTransactionId() get the value zero.

    Hello friends,

    I do real tests, but still I'm getting transactionID zero. I didn't know why I make id transection zero? When I did my project application at this time I use sandbox at this point I'm getting zero id transection. I got to know that I am with sandbox y I get transactionID zero. but now my app on appworld but even I'm zero transectionID. What should I do?

    My direct application link is below. my request on appworld, this is my link to application please see and tell me where I am doing wrong.

    http://appworld.BlackBerry.com/WebStore/content/65335/?lang=en

    give me a few years. help me frdns,

    Thank you and best regards,

    Ajay Poirier.

    Hello

    Blons this post I had the answer actully my user is the user sandbox so I'm getting zero transection id. My porblme is now resolved. Thank you

  • I just upgraded to 10 Windows and now I can't get into Photoshop Elements.  I get the error 150:30.  Set to zero, as suggests, does not, of course.

    I just upgraded to 10 Windows and now I can't get into Photoshop Elements.  I get the error 150:30.  Set to zero, as suggests, does not, of course.

    Thanks - I thought that this could be the best answer!  I just hope that, in general, PSE 8 works with W-10!

  • Any idea which function Essbase or a combination of function can be used to get the level zero members of a list of members.

    Any idea which function Essbase or a combination of function can be used to get the level zero members of a list of members. I know that @RELATIVE or @DESCENDANTS cannot be used.

    If you want to fix on all level 0 members in a member set, then maybe @ILDESCENDANTS will work for you.  Something like: @ILDESCENDANTS (@LIST (members), 0)

  • Is it possible to buy or get a serial number for the CS4 Suite?

    I use for Suite CS2 years and recently came across a set of CS4 at a local garage sale, but the seller had only the disc.  Can I buy or get a serial number?

    You may, but not anyone here I would hazard to guess.  To get a take your chances with a third-party provider.

    Just in case where... just get a drive is a little out of place... If you paid anything for it you have lost money.   Most of the Adobe software are available for download, so you might as well went in search of a version still newer, if access to the facility, he is everything that bothers you.

  • Run the second sql statement only if the first sql statement is set to zero.

    Hey guys I seem to have a mental block here. I have two sql statements. I would like to than the second to run only if the first sql statement is set to zero. I know that I can use PLsql but I would really like to see if I can do this with sql upward. Your answers are very much appreciated.
    This is the first sql
      Select     ft.fund_code, 
                 ft.orgn_code, 
                 ft.acct_code, 
                 ft.amount, 
                 fb.owner_pidm, 
                 ft.prog_code      
          from ftrbremb fb , ftcractg ft
          where fb.doc_code = 'TR000038'
          and fb.ftpbport_id = ft.ftpbport_id
    second sql statement
         Select ft.fund_code, 
                 ft.orgn_code, 
                 ft.acct_code, 
                 ft.amount, 
                 fb.owner_pidm, 
                 ft.prog_code      
          from ftrbremb fb , ftcractg ft, ftprexps fx
          where fb.doc_code = 'TR000038'
          --and fb.ftpbport_id = ft.ftpbport_id
          and fx.ftrbremb_id = fb.id
          and ft.ftprexps_id = fx.id;
    How can I combine these two statements together so that when the first is null the second run. As a bonus, I want to get just the first line as well.
    Any help would be greatly appreciated. I tried to accomplish with the case statement but it dosent everything seems to work for me.
    Thank you

    Miguel,

    the idea is simple: join the two queries (via the union of all) and to change the second part as to return only the rows if the first query returns no rows by changing the NOT EXISTS (first request). Hope I made it clear... ;)

  • Cursor guard set to zero at the beginning of the address bar if the page loads

    Hello

    I have a boring (and weird) problem with Firefox: whenever I type in the address bar, the cursor will constantly reset to the beginning of the address bar. This only happens if another page load currently.

    By example, if I try to type in something like google.com it will tend to come out as le.comgoog, but only if I opened recently a few links and they always load the Web page. Therefore, it is very difficult to open a Web page if another load.

    This also occurs on the Favorites bar, because if I open a folder, it will close randomly (which makes it quite difficult to open another site), but only in the same circumstances.

    The problem seems to worsen the tabs more are loading - if it's just one I might reset after 5 seconds (or almost) but if I just open a folder of 10 bookmarks then google.com eventually became moc.elgoog because it is so often set to zero.

    Thank you!

    You can start Firefox - safe-mode to check if your problem is caused by an extension or theme (try the default theme).
    If from work safe mode then disable your extensions (Tools > Modules > Extensions or use the option in the window of safe mode) and re-enable one by one until you find the one that is the cause.
    Close and restart Firefox after each change.

  • Iphone4s with Skype will not take the call, it's as if the ringing type is set to zero, it gives a busy year.

    The iPhone running Skype, will not take a call, it's like the ring time is set to zero, it takes callers I would but gives the caller a busy year, any help please, thank you Ken

    I had the same problem - fixed it:

    https://support.Skype.com/en/FAQ/FA10981/how-do-i-delete-my-shared-XML-file

    Make sure that you log out of Skype on your iPhone and PC. After you delete the file, restart Skype on your computer and connect to recreate the file. The journal of Skype on your computer and in to Skype on your iPhone.

  • Where can I buy or get a 2710 x dvd battery cover?

    Anyone where I can buy or get a 2710xdvd battery cover? (only part P000297400) to the United Kingdom?

    Hello

    Maybe http://www.morsenet.com/www/frameset.asp?top=end_user.htm&main=http :// www.morsenet.com/www/drilldown.asp?node=464577

    Good bye

  • Table 2D-strings in the "get/set item property.

    I am porting the code of veristand 2009-2010 and I noticed that the get/set vi item property does not the same. Specifically, I can't write or read 2D strings sent as variants. When I put the 2D table in a cluster, it works fine. Does anyone have information on this?

    JY

    Hi JY,.

    This problem was reported to R & D OR as a Corrective Action Request (CAR) 287960 for further investigation. Thanks for the comments!

  • How to get/set asking for information about the step

    Hello

    I want to get the name of the step, type of step, step during the test limit, and also I want to change the limit in the test case, how can I do this?

    BR

    Bendy

    already know how to do it access to the step object, then can get/set information of it.

    PropertyObjectPtr stage;

    Step = SeqContextDisp-> AsPropertyObject()-> GetPropertyObject("Step",0);

    CString itemname = step-> GetName (); get the name of the element

  • Is it possible to get/set the cursor position in a TextArea?

    Hi all

    I went through the documentation and can't find a way to get/set the position of the cursor to a TextArea. Someone has an idea?

    Thank you

    Dong

    You want to see the property "Editor"? https://developer.BlackBerry.com/Cascades/reference/bb__cascades__textfield.HTML#editor

  • He cannot get set Windows Update to download. Receive error code 80072EFE?

    Original title: Carol

    He cannot get set Windows Update to download. Receive error code 80072EFE.

    https://support.Microsoft.com/en-AU/KB/818018/en-AU how to troubleshoot problems connecting to Windows Update or Microsoft Update

    Do not trust article on the fixit.

  • Generated by an expression values get set cached?

    Does anyone know if the generated output as an expression values get set cached for the frame as the rendered image only?

    Meaning, does make any improvement in speed to a value of the term of reference of the same frame as opposed to this calculation on each image.

    As a simplified example, I have an expression on the values of the slider with some heavy calculation that does not change over time. It improves the speed of calculation of expression to call the resulting value of a single point in time (like the time = 0), as opposed to the present appellant, which certainly recalculates on each image?

    N ° expressions are always evaluated for each image and looking for the values of another era in fact get worse since AE can evaluate the expression of the current framework and then based on the code to evaluate it again on the other images. AE simply has no way to differentiate the State of an expression unless it evaluates actually just as it does not store persistent values, does not the JIT compilation or that this is another thing that you could imagine. It is an assessment of strictly linear script, image by image and line-by-line optimization depends on structure the code and structure of the project. Of course nothing prevents you to outsource the code for the "inert" invisible layers or comps do not used anywhere, but it has other implications where your calculations depend on time or the layer order. If things get slow, you can also always convert expression to keyframes.

    Mylenium

  • How get/set the value of the DataObject object in the task of the API?

    How get/set the value of the DataObject object in the task of the API?

    Are there examples of code availible?

    Hello

    You are here: http://docs.oracle.com/cd/E23943_01/dev.1111/e10224/bp_worklistcust.htm

    Antonis

Maybe you are looking for