hatzisn Expert Licensed User Longtime User Aug 8, 2019 #1 Hi everyone, Driving always in the safe lane I would like to make a back end that will check for the InApp Purchase of a product by a user and then it will activate through the back end the application. I Googled a lot and I ended up finding in Google Developer API the following two pages: https://developers.google.com/android-publisher/api-ref/purchases/products/get?hl=el https://developers.google.com/android-publisher/api-ref/purchases/products/acknowledge I have two questions: 1) How can I get the token mentioned through the InApp Billing B4A library? 2) What can you make out of the acknowledge page because I am not exactly sure that I understood the use of this API. Thanks
Hi everyone, Driving always in the safe lane I would like to make a back end that will check for the InApp Purchase of a product by a user and then it will activate through the back end the application. I Googled a lot and I ended up finding in Google Developer API the following two pages: https://developers.google.com/android-publisher/api-ref/purchases/products/get?hl=el https://developers.google.com/android-publisher/api-ref/purchases/products/acknowledge I have two questions: 1) How can I get the token mentioned through the InApp Billing B4A library? 2) What can you make out of the acknowledge page because I am not exactly sure that I understood the use of this API. Thanks
Erel B4X founder Staff member Licensed User Longtime User Aug 9, 2019 #2 Purchase.Token. Example of accessing the developer API: https://www.b4x.com/android/forum/threads/google-play-developer-api.81839/#content Upvote 0
Purchase.Token. Example of accessing the developer API: https://www.b4x.com/android/forum/threads/google-play-developer-api.81839/#content
hatzisn Expert Licensed User Longtime User Aug 9, 2019 #3 Hi Erel, I am not sure I exactly understand what you have answered me. The class Purchase in the InApp Billing B4A library does not expose a ".Token" property. I have updated the library from this link: http://www.b4x.com/forum/additional.../29998-app-billing-v3-library.html#post174139 Am I missing something here? Upvote 0
Hi Erel, I am not sure I exactly understand what you have answered me. The class Purchase in the InApp Billing B4A library does not expose a ".Token" property. I have updated the library from this link: http://www.b4x.com/forum/additional.../29998-app-billing-v3-library.html#post174139 Am I missing something here?
Erel B4X founder Staff member Licensed User Longtime User Aug 11, 2019 #4 You are correct. I misread the library source code. Using this instead: https://www.b4x.com/android/forum/threads/purchasetoken-from-in-app-billing.30688/#post-178236 Upvote 0
You are correct. I misread the library source code. Using this instead: https://www.b4x.com/android/forum/threads/purchasetoken-from-in-app-billing.30688/#post-178236