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

Native Development

Reply
Developer
jamiejulius
Posts: 49
Registered: ‎06-06-2012
My Device: Bold 9700
Accepted Solution

PurchaseReceipt - purchaseId returns "0"

Hi,

 

I have added in-app purchasing to our application. All seems to work except that the purchaseId in the receipt contains the string "0" (which doesn't seem right).

 

Has anyone else used this API?

 

If so, I'd be curious to know how the purchaseId function behaves for you.

 

Thanks,

 

Jamie

 

Please use plain text.
BlackBerry Development Advisor (Retired)
gbeukeboom
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10

Re: PurchaseReceipt - purchaseId returns "0"

Hi Jamie,

 

Are you testing in Sandbox mode? If so this is expected, in Sandbox mode there is no actual transaction completed so no valid ID is created.

Garett
@garettBeuk
--
Goodbye everybody!
Please use plain text.
Developer
jamiejulius
Posts: 49
Registered: ‎06-06-2012
My Device: Bold 9700

Re: PurchaseReceipt - purchaseId returns "0"

Yes, it turns out that I was. Thanks!

Please use plain text.