Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
css
img
js
README.md
config.xml
index.html

README.md

Payment service Sample Application

This sample demonstrates how to use the BlackBerry Payment Service in a BlackBerry WebWorks application for the BlackBerry Tablet OS. The Payment Service JavaScript API provides an end-to-end payment solution for monetizing application content.

The sample code for this application is Open Source under the Apache 2.0 License.

Applies To

Author(s)

Dependencies

  1. jquery-1.5.2.min.js is dual licensed under the MIT or GPL Version 2 licenses.
  2. jquery.mobile-1.0a4.1.min.js is dual licensed under the MIT or GPL Version 2 licenses.
  3. jquery.mobile-1.0a4.1.min.css is dual licensed under the MIT or GPL Version 2 licenses.
  4. shopping_icons_set2 by Daily Overview, free for commercial use available from IconFinder.com.

To contribute code to this repository you must be signed up as an official contributor.

How to Build

To build the payment sample application:

  1. Click on the Downloads tab above.
  2. Select Download as zip (Windows) or Download as tar.gz (Mac) and save the downloaded file to your local machine.
  3. Create a new folder on your local machine named payment e.g. C:\Documents and Settings\User\WebWorks\payment (Windows) or ~/WebWorks/payment (Mac).
  4. Open the downloaded ZIP file from step 2 and extract the contents from inside the zipped payment folder to your local payment folder from step 3. This ensures that the necessary application assets, such as config.xml, are correctly located at the top level of the local payment folder (e.g. ~/WebWorks/payment/config.xml).
  5. Using the Ripple Mobile Emulator and either the BlackBerry WebWorks SDK for Smartphone or the BlackBerry WebWorks SDK for Tablet OS, package the contents of your local payment folder into a BlackBerry application. Enter the project root settings field as the local folder created in step 3, and the archive name settings field as payment.

More Info

Contributing Changes

Please see the README of the WebWorks-Samples repository for instructions on how to add new Samples or make modifications to existing Samples.

Bug Reporting and Feature Requests

If you find a bug in a Sample, or have an enhancement request, simply file an Issue for the Sample.

Disclaimer

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.