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

BlackBerry® World™ Development

Considerations when testing purchases through a sandboxed account

by Retired on ‎01-21-2013 04:10 PM - edited on ‎11-07-2013 10:33 AM by BlackBerry Development Advisor (2,591 Views)

This article applies to the following:

  • Applications created with any of the BlackBerry® PlayBook™ development SDKs that include Payment Services
  • Applications created with any of the BlackBerry® Smartphone™ development SDKs that include Payment Services

The BlackBerry® World™ sandbox accounts allow developers to test their applications without needing to pay as normal BlackBerry World consumers would; this can be used for testing paid apps or apps that use in-app payments to ensure everything is functioning as expected before posting for sale. Note that sandbox accounts are specific to a Vendor account meaning that a Vendor can add users to their account and allow users to use applications for free posted by that Vendor only.

 

One very important thing to note about using sandbox accounts which will make the rest of this article make much more sense, when a purchase is made while in the sandbox no money is exchanged and no transaction record generated. Transaction records are what BlackBerry World uses to know a purchase has been made which means a few things:

  1. Trying to retrieve past purchases (including subscriptions) of digital goods from BlackBerry World will not return any results
  2. The Transaction ID of any purchase will always be ‘0’

 

This means that if you are checking for existing purchases during testing and/or validating or recording the transaction ID values, it would be good to account for the above scenarios which will be encountered when testing.

 

For more information on Sandbox testing:

Users Online
Currently online: 47 members 899 guests
Please welcome our newest community members: