Skip to content
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Payment Service - Support in-app purchases

Sample Description:

 The Payment Service Sample is an application that is designed to show you how
 to support purchase requests in your applications using the Payment Service,
 which is a service in the BlackBerry Platform Services library. You can
 register digital goods in the vendor portal for BlackBerry App World and allow
 users to purchase these digital goods in your applications.

 When you run the application it starts with the simulation of a purchase
 already initiated.  Once you're done, you can simulate another purchase by 
 swiping down from the top of the screen. The simulated purchase request is 
 performed in local mode, meaning that no information is sent to the Payment 
 Service server and a simulated purchase response is received.

 Feature summary
 - Creating purchase parameters
 - Making a purchase request
 - Handling purchase responses
 - Retrieving existing purchases


 - BlackBerry® 10 Native SDK
 - One of the following:
   - BlackBerry® 10 device
   - BlackBerry® 10 simulator

Importing a project into the Native SDK:

 1. From the the Sample apps page, download and extract the sample application.
 2. Launch the Native SDK.
 3. On the File menu, click Import.
 4. Expand General, and select Existing Projects into Workspace. Click Next.
 5. Browse to the location where you extracted the sample app, and click OK.
    The sample project should display in the the Projects section.
 6. Click Finish to import the project into your workspace.

Something went wrong with that request. Please try again.