Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Payment Service

Reply
Developer
bert2002
Posts: 172
Registered: ‎05-01-2010
My Device: Z10

Webworsk and Payment Transaction

Hi,

 

I implemented the payment service in one application and currently testing it with "blackberry.payment.developmentMode = true;".

 

I get the screeen shown and can choose the result of the test and a Purchase ID. This is working fine, but the TransactionID in the a successful payment is "NOT SPECIFIED". Is it because of the developmentMode?

 

How long ca a TransactionID become? Only 10 digits?

 

Many Thanks

 

bert



----------------------------------------------------------
find my widgets -> http://blackberry.itbert.de
Retired
gbeukeboom
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10

Re: Webworsk and Payment Transaction

Hi bert,

 

Yep, this is due to developmentMode being true. The TransactionID lentgh could vary, do you have requirements on the length in your app?

Garett
@garettBeuk
--
Goodbye everybody!
Developer
bert2002
Posts: 172
Registered: ‎05-01-2010
My Device: Z10

Re: Webworsk and Payment Transaction

Hi gbeukeboom,

 

yes the transactionID is part of the next steps. Do you know how long can a id can get? is it always 10 digits or can it get much bigger?

 

Thanks

 

bert



----------------------------------------------------------
find my widgets -> http://blackberry.itbert.de
Retired
gbeukeboom
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10

Re: Webworsk and Payment Transaction

Hi bert,

 

It could get longer, I couldn't say with confidence that it will always be the same length. What's your requirement? Could it be made more flexible?

Garett
@garettBeuk
--
Goodbye everybody!
Developer
bert2002
Posts: 172
Registered: ‎05-01-2010
My Device: Z10

Re: Webworsk and Payment Transaction

Hi,

 

just curious how do design the database schema. Since we need to save it temporarily to verify the payment. So I guess when we go with maximal 12 oder 15 digits it should be good for some time or is it recommend to save a bigger space for it?



----------------------------------------------------------
find my widgets -> http://blackberry.itbert.de
Retired
gbeukeboom
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10

Re: Webworsk and Payment Transaction

15 should be safe.

Garett
@garettBeuk
--
Goodbye everybody!