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

Payment Service

Posts: 26
Registered: ‎10-03-2012
My Device: Playbook
My Carrier: lebara
Accepted Solution

Purchasing Digital Goods from Sandboxed Draft Applications

When I purchase a good using the native SDK, I receive the proper PURCHASE_RESPONSE event.   When I call paymentservice_event_get_metadata() I don't get the metadata I have set in the vendor portal for that good.   Instead I get the data that I passed as argument to paymentservice_purchase_request.


How do I get the actual metadata from the server?  


Is this a caching issue?





Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: Purchasing Digital Goods from Sandboxed Draft Applications

It's working as expected. You would set the metadata to help differentiate between differemt digital goods with the same SKU (for example if selling eBooks you may set the metadata to be the ISBN).

Goodbye everybody!