InAppPurchases Android

The 1C:Enterprise developers forum

#1
People who like this:0Yes/0No
Just came
Rating: 0
Joined: Nov 30, 2021
Company: logisoft

Hello
We have developed a small Android App and we would like to enable Subscriptions via Google play store and IOS

Here is the code so far

&AtClient
Procedure TEST(Command)
#IF MobileAppClient then
test1(thisform);
#Endif
EndProcedure

&MobileAppClient
Procedure Test1(thisform)

InAppPurchases.BeginPurchasing( New NotifyDescription("BeginAppPurchase",thisform),"InAppPurchaseService.GooglePlayInAppBilling");

endprocedure

&MobileAppServer
Procedure BeginAppPurchase(Purchase,successful,receipt,Additionally)

EndProcedure


When the procedure runs it requests purchase server,Buyer ID , username and password and also the followup to the payment is not clear via the documentation

Does any one have any sample code or directions on how to proceed ?

Thanks

 
#2
People who like this:0Yes/0No
Administrator
Rating: 13
Joined: Oct 3, 2019
Company:

Hello Andri,

in a couple of days, I will post an example for you of how you can implement the functionality of purchases in a mobile application.

 
#3
People who like this:0Yes/0No
Just came
Rating: 0
Joined: Nov 30, 2021
Company: logisoft

Hello
Thank you very much
Waiting for your post

 
Subscribe
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.