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

Web and WebWorks Development


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
New Contributor
Posts: 5
Registered: ‎09-10-2013
My Device: 9360-blackberry curve
My Carrier: Vodafone

blackberry.payment.purchase not working in BBOS 7 or app unable to build the Payment Service information

[ Edited ]

I am working on Webworks in APP purchase. when I call blackberry.payment.purchase with my app specific arguments this is showing a blue screen and then returns to app. the code I tried is from website. which follows here:

 

blackberry.payment.purchase({
"digitalGoodID":null,
"digitalGoodSKU" : .paidSku,
"digitalGoodName":id,
"metaData":"metadata",
"purchaseAppName":"MyApp",
"purchaseAppIcon":null,
},
onPurchaseSuccess, onPurchaseFailure);

 

but it returns without initiating purchase unable to find any useful help. on how to resolve. Any help is appreciated. Please guide me in this context.

 

 

New Contributor
Posts: 5
Registered: ‎09-10-2013
My Device: 9360-blackberry curve
My Carrier: Vodafone

Re: blackberry.payment.purchase not working in BBOS 7 or app unable to build the Payment Service information

you will find a '.' before paidsku that is to stop emoticon.

New Contributor
Posts: 5
Registered: ‎09-10-2013
My Device: 9360-blackberry curve
My Carrier: Vodafone

Re: blackberry.payment.purchase not working in BBOS 7 or app unable to build the Payment Service information

Any body........ any answer plzz.

Retired
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: blackberry.payment.purchase not working in BBOS 7 or app unable to build the Payment Service information

Strange, it sounds like the dialog window for the payment service is crashing. Not fully sure why

 

  1. Do you have the latest version of BlackBerry World app upgraded on that BB7 device?
  2. Do you see any JavaScript runtime errors, either within the onPurchaseFailure callback, or if you wrap this call in a try/catch statement?

 

Would suggest providing the digitalGoodID instead of using digitalGoodSKU.

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.
New Contributor
Posts: 5
Registered: ‎09-10-2013
My Device: 9360-blackberry curve
My Carrier: Vodafone

Re: blackberry.payment.purchase not working in BBOS 7 or app unable to build the Payment Service information

Thanks astanley. can't say if that solved the issue I am out of it now. still thanks for your reply