<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>BlackBerry Developer Blog &#187; payment</title>
	<atom:link href="http://devblog.blackberry.com/tag/payment/feed/" rel="self" type="application/rss+xml" />
	<link>http://devblog.blackberry.com</link>
	<description></description>
	<lastBuildDate>Fri, 17 May 2013 17:47:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='devblog.blackberry.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/9ef0a66c09615fa946c4179662398878?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>BlackBerry Developer Blog &#187; payment</title>
		<link>http://devblog.blackberry.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://devblog.blackberry.com/osd.xml" title="BlackBerry Developer Blog" />
	<atom:link rel='hub' href='http://devblog.blackberry.com/?pushpress=hub'/>
		<item>
		<title>BlackBerry 10 WebWorks &#8211; Time To Get Paid</title>
		<link>http://devblog.blackberry.com/2013/02/blackberry-10-webworks-february/</link>
		<comments>http://devblog.blackberry.com/2013/02/blackberry-10-webworks-february/#comments</comments>
		<pubDate>Wed, 13 Feb 2013 14:29:50 +0000</pubDate>
		<dc:creator>Ken W</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[WebWorks]]></category>
		<category><![CDATA[bbm]]></category>
		<category><![CDATA[BlackBerry 10]]></category>
		<category><![CDATA[BlackBerry 10 WebWorks]]></category>
		<category><![CDATA[blackberry app world]]></category>
		<category><![CDATA[Gold]]></category>
		<category><![CDATA[payment]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[ripple]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[webworks]]></category>
		<category><![CDATA[WebWorks Apps]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=13716</guid>
		<description><![CDATA[Most people like to be rewarded for hard work. There are of course many ways in which people derive reward. Fame. Adoration. Legions of followers on Twitter. Free cookies. But perhaps the most prevalent and obvious is cold, hard cash. With BlackBerry World, there are a number of ways to get money out of your [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=13716&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<div id="attachment_13718" class="wp-caption aligncenter" style="width: 610px"><a href="http://rimdevblog.files.wordpress.com/2013/02/money.jpg"><img class="size-full wp-image-13718" alt="TITLE_IMAGE" src="http://rimdevblog.files.wordpress.com/2013/02/money-e1360714788275.jpg?w=600&#038;h=450" width="600" height="450" /></a><p class="wp-caption-text">“Money” by <a href="http://www.flickr.com/photos/9731367@N02/6988272680/" target="_blank">PTMoney/CC/flickr</a></p></div>
<p>Most people like to be rewarded for hard work. There are of course many ways in which people derive reward. Fame. Adoration. Legions of followers on Twitter. Free cookies. But perhaps the most prevalent and obvious is cold, hard cash.</p>
<p>With BlackBerry World, there are a number of ways to get money out of your investment in your BlackBerry 10 application. Today’s refresh of the BlackBerry 10 WebWorks SDK brings support for our<a href="https://developer.blackberry.com/develop/platform_services/payment.html">Payment Service</a>. The Payment Service allows you to implement in-app purchases, either one-time purchases or subscription-based services. Now you can choose your monetization strategy for your BlackBerry 10 WebWorks application: paid download, freemium, in-app purchases, digital goods, etc.</p>
<p>Check out the <a href="http://developer.blackberry.com/html5/apis/blackberry.payment.html">API reference</a> to get started.  You will immediately notice that there are a few new additions to the API compared to previous implementations in BlackBerry WebWorks, such as cancel subscription.</p>
<p>While payment should be enough to get your excited on its own, we also were able to sneak in some of the final bits of the BBM Social Platform &#8211; namely support for the Profile Box.  The Profile Box is a customizable box for your app that appears in the current user&#8217;s BBM profile. You can use it to broadcast achievements or provide updates. The box contains a list of items, each composed of text and an optional icon. The Profile Box API allows you to manage the items in your app&#8217;s profile box. The API reference for this new API is <a href="http://developer.blackberry.com/html5/apis/blackberry.bbm.platform.self.profilebox.html">here</a>.</p>
<p>One final item that you should be aware of is how popup windows are handled. With this release, the popup blocker is disabled by default.  This means that popups will display in the Child Browser window.  If you wish to enable the popup blocker functionality there is a new parameter that you can pass in config.xml to the “blackberry.app” feature.  For information, see the <a href="http://developer.blackberry.com/html5/documentation/param_element.html">&lt;param&gt; element</a>.</p>
<pre>&lt;feature id="blackberry.app"&gt;
  &lt;param name="popupBlocker" value="enable" /&gt;
&lt;/feature&gt;</pre>
<p>Be sure to <a href="http://developer.blackberry.com/html5/download/sdk">download the latest SDK</a>, and check out the Payment service to see how you can develop a richer monetization strategy for your application.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/13716/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/13716/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=13716&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/02/blackberry-10-webworks-february/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/3b422c1a037b89d4ddf5bef834dbdeef?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kjwallis</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2013/02/money-e1360714788275.jpg" medium="image">
			<media:title type="html">TITLE_IMAGE</media:title>
		</media:content>
	</item>
		<item>
		<title>BlackBerry Payment Services: Return of the Sandbox</title>
		<link>http://devblog.blackberry.com/2013/01/blackberry-payment-services-sandbox/</link>
		<comments>http://devblog.blackberry.com/2013/01/blackberry-payment-services-sandbox/#comments</comments>
		<pubDate>Tue, 15 Jan 2013 15:43:05 +0000</pubDate>
		<dc:creator>garett</dc:creator>
				<category><![CDATA[Adobe AIR Development]]></category>
		<category><![CDATA[Announcements]]></category>
		<category><![CDATA[BlackBerry World]]></category>
		<category><![CDATA[Cascades]]></category>
		<category><![CDATA[Game Development]]></category>
		<category><![CDATA[Native SDK Development]]></category>
		<category><![CDATA[Platform Services]]></category>
		<category><![CDATA[monetization]]></category>
		<category><![CDATA[payment]]></category>
		<category><![CDATA[sandbox]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=12998</guid>
		<description><![CDATA[By Sandbox.png: DaniDF1995 derivative work: Gregor Shapiro (Sandbox.png) [Public domain], via Wikimedia Commons If you are a developing for BlackBerry 10 and like the idea of making money, then you have likely implemented &#8211; or at least taken a look at &#8211; the BlackBerry Payment Service. It provides integration directly with BlackBerry World to allow [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=12998&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-12999" alt="sandbox-1" src="http://rimdevblog.files.wordpress.com/2013/01/sandbox-1.jpg?w=450&#038;h=294" width="450" height="294" /></p>
<p style="text-align:center;"><i><a href="http://commons.wikimedia.org/wiki/File%3ASandbox.svg" target="_new">By Sandbox.png: DaniDF1995 derivative work: Gregor Shapiro (Sandbox.png) [Public domain], via Wikimedia Commons</a></i></p>
<p>If you are a developing for BlackBerry 10 and like the idea of making money, then you have likely implemented &#8211; or at least taken a look at &#8211; the BlackBerry Payment Service. It provides integration directly with BlackBerry World to allow the sale of Digital Goods. Up until the latest software release (10.0.09.2320) there were two ways to test the Payment Service:</p>
<p><strong>1) Local Mode Testing</strong><br />
This mode is set within the application and allows you as the developer to choose what response is returned to the application (Success or Failure, and if Failure you can also specify the reason using standard error codes). Local mode also lets you make purchases within your application, then retrieve any purchases made during the same session to let devs test out their logic for retrieving passed purchases. This is a great initial testing step for any application that would like to sell digital goods.</p>
<p><span id="more-12998"></span></p>
<p><img class="aligncenter size-full wp-image-13000" alt="" src="http://rimdevblog.files.wordpress.com/2013/01/sandbox-2.jpg?w=288&#038;h=480" width="288" height="480" /></p>
<p><strong>2) Live/Production Testing</strong><br />
This is really the last line of testing that should be done on an application with digital goods; submit the application to BlackBerry World along with all your digital goods, then wait for it to be approved. Once approved, you post it for sale and try making a purchase using real money and also test restoring past purchases. As this uses real money, it is really only a good idea to do as a final testing step.</p>
<p><img class="aligncenter size-full wp-image-13001" alt="" src="http://rimdevblog.files.wordpress.com/2013/01/sandbox-3.jpg?w=407&#038;h=399" width="407" height="399" /></p>
<p>The two options above leave a fair amount of room between accurate but faked testing, and testing which requires money every time it is done. On BlackBerry PlayBook OS and BlackBerry OS 7.1 and lower, there existed “sandbox” mode which was used to close the gap between the two test methods, and provide a means to test digital goods where your app actually talks to the BlackBerry World servers but it doesn’t cost you any money to do so. As of the latest software release, this functionality has been enabled and can now be used to test all of your applications that make use of the payment service whether they are in Draft mode or Live/Public.</p>
<p>How to test your application using a sandboxed account:</p>
<p>1) Make sure the BlackBerry ID that is associated with the device you are using for testing is also added to the list of sandbox user accounts in your vendor portal:</p>
<p><img class="aligncenter size-full wp-image-13002" alt="sandbox-4" src="http://rimdevblog.files.wordpress.com/2013/01/sandbox-4.jpg?w=600&#038;h=192" width="600" height="192" /></p>
<p>2) After this is done, you should ensure that your application and any digital goods you would like to test are added to your vendor portal<br />
3) On your BlackBerry 10 Dev Alpha, you should now enable Development Mode (Settings &gt; Security and Privacy &gt; Development Mode)<br />
4) Once Development Mode is enabled, a new option becomes available in the BlackBerry World client. Launch the client on your device, then swipe down from the top bezel to bring up the application Menu and select “Settings”. In the new screen, select “Development Mode” from the list (this will only be visible if your device is in Development Mode) which will push a new screen that will let you enter the ID of your application and download it right from your vendor account. This is also a great way to test out Draft versions of your application before posting them for sale just to make 100% sure they work as you expect.</p>
<p><img class="aligncenter size-full wp-image-13003" alt="sandbox-5" src="http://rimdevblog.files.wordpress.com/2013/01/sandbox-5.jpg?w=600&#038;h=333" width="600" height="333" /></p>
<p>Once your application is downloaded, you can then test out payments without being charged. Note that even if your application is listed as paid you will not be charged using this method.</p>
<p>Some important things to take into consideration and known issues when using this method:</p>
<p>1) In your application, you should have your code set to Live or Production mode<br />
2) This method can only be used to download and test applications in portals where your account has been added to the sandbox accounts list<br />
3) Any goods purchased while in sandboxed mode are not written to the transaction database currently, which means you will be unable to retrieve past goods “purchased” while in sandbox mode<br />
4) Sandbox mode only works in a live device at the moment; it will not work in the BlackBerry 10 VM<br />
5) You may encounter download and install errors &#8211; if this happens, then please keep trying and it should eventually succeed</p>
<p>For more information on payment services for the various BlackBerry 10 platforms, please refer to the following resources:</p>
<p>Cascades: <a href="https://developer.blackberry.com/cascades/documentation/device_platform/paymentservice/index.html" target="_new">https://developer.blackberry.com/cascades/documentation/device_platform/paymentservice/index.html</a><br />
Native: <a href="http://developer.blackberry.com/native/documentation/bb10/recipe_payment_2006487_11.html" target="_new">http://developer.blackberry.com/native/documentation/bb10/recipe_payment_2006487_11.html</a><br />
AIR: <a href="https://developer.blackberry.com/air/documentation/bb10/payment_service_air.html" target="_new">https://developer.blackberry.com/air/documentation/bb10/payment_service_air.html</a><br />
Android: <a href="http://developer.blackberry.com/android/apisupport/apisupport_inapp_payments_support.html" target="_new">http://developer.blackberry.com/android/apisupport/apisupport_inapp_payments_support.html</a></p>
<p>As always, if you have any questions please feel free to post to the forums or send a message on Twitter to <a href="http://twitter.com/BlackBerryDev" target="_new">@BlackBerryDev</a> or me, <a href="http://twitter.com/garettbeukeboom" target="_new">@garettbeukeboom</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/12998/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/12998/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=12998&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/01/blackberry-payment-services-sandbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/75e7e69af37da351a3462a17576c2209?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gbeuk</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2013/01/sandbox-1.jpg" medium="image">
			<media:title type="html">sandbox-1</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2013/01/sandbox-2.jpg" medium="image" />

		<media:content url="http://rimdevblog.files.wordpress.com/2013/01/sandbox-3.jpg" medium="image" />

		<media:content url="http://rimdevblog.files.wordpress.com/2013/01/sandbox-4.jpg" medium="image">
			<media:title type="html">sandbox-4</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2013/01/sandbox-5.jpg" medium="image">
			<media:title type="html">sandbox-5</media:title>
		</media:content>
	</item>
	</channel>
</rss>
