Gallery
References
Category:1956 births
Category:Living people
Category:Canadian computer programmersQ:
How to share data between in-app-billing and in-app-subscription
I am developing an android app with in-app-billing and in-app-subscription.
I am not sure about how to share data between both. I am aware about this post Share information from android app with in-app-billing and in-app-subscription.
Since I have integrated in-app-billing for items whose prices are dynamic so in case if user subscribes to the item while he/she purchases the item.
I need to save the item id which user purchases and item id user subscribes.
Any suggestions are welcome.
A:
Since I have integrated in-app-billing for items whose prices are dynamic so in case if user subscribes to the item while he/she purchases the item.
Note that this is not how in-app billing works, in-app billing is not based on subscription. I.e., if you have an item with price $4.95 and someone purchases it, then if the price goes up to $9.99 then that person can no longer be charged for the item.
// Copyright 2010 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following
// disclaimer in the documentation and/or other materials provided
// with the distribution.
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived
// from this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND be359ba680
Related links:
Comments