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

Reply
Contributor
billbill
Posts: 16
Registered: ‎06-29-2011
My Device: 9800
My Carrier: -

creating a javascript extension for Payment SDK support for BlackBerry smartphones

Hi there,

I would like to use the payment SDK in my blackberry apps but from what I see only playbook is supported on webworks.

 

I created a javascript extension that I can call from by WebWorks app in order to be able to use the payment service.

My only problem is that I dont know how to include the paymentapi.jar in my app because the paymentWrapper.jar I created needs to reference it.

Atm when i compile my WebWorks app I get a "package net.rimlib.blackberry.api.paymentsdk does not exist" which is normal as the paymentapi.jar is not included somewhere.

 

Is it possible to reference it somehow?

 

Thank you

Please use plain text.
Contributor
billbill
Posts: 16
Registered: ‎06-29-2011
My Device: 9800
My Carrier: -

Re: creating a javascript extension for Payment SDK support for BlackBerry smartphones

[ Edited ]

I found the answer here finally:
http://docs.blackberry.com/en/developers/deliverables/32990/Creating_a_JAR_file_that_defines_your_ex...

 

you just throw the paymentapi.jar in you jar .

now it remains to see if it works!

thnx

Please use plain text.
BlackBerry Development Advisor
tneil
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: creating a javascript extension for Payment SDK support for BlackBerry smartphones

The Payment SDK for smartphones will be released as part of the WebWorks SDK in a couple of weeks.

 

https://github.com/blackberry/WebWorks/issues/milestones

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
Please use plain text.