Hi,
Not sure if anyone has ever done anything like this before or has any suggestions on how I can do this using B4J.. (the following is just an example but of cause I am no car insurance company but just using it as an example to make it easier to understand on what I am trying to do)
First think of a car insurance, every year your car insurance is up for renewal. You can pay either monthly or an annual fee.
They then ask for your car details and then you have the option to register your car to them after getting a quote.
Using a B4A/B4i App I want to be able to charge this monthly fee or annual fee and register the car to my B4J app.
The only way I can see doing this is using an in-app purchase within B4A/B4i and then when the in-app purchase has been accepted then send a message from my B4A/B4i app to my B4J app and register that car.
Problem is, if someone works out what message to send to my B4J app then they can register anything without actually triggering the payment in the app.
It would be good if somehow if B4J can connect to Google/Apple to check if this payment is real. It would then solve the above issue.
The only other thing I can think of is have a web site and getting the user to login with the web browser and using PayPal, somehow trigger something in my B4J app once the payment has been made in the web browser.
I rather use my B4A/B4i app as the front end, rather than getting the user to open a web browser on there PC etc. just to register.
Would using an in-app purchase in the app be the way to do this or has anyone else done it in a different way ?
Hope the above makes sense on what I am trying to do.