Hey, I am also trying to get recuring payments done in my App. But I am trying to do it with Paypal.
But I am also struggling:
In Paypal you have a link for the subsription. When a customer clicks taht link, he or she can subscripe. There is also a link for unsubscribing the recurring payment.
Now to my problem. When a user wants the premium version which opens up some more features in the same app he or shee needs to subscribe to the recurring payment. So I made buttons for the subscription and unscubsirption and changed the visibility accordingly. When subbed see Cancel Sub. and when not subbed see Start Sub.(“Get Premium”). The problem is, how can I track which user really did the subscription. I thought of making a table with all users, keys and Mails and a row Subscribbed with 0 or 1 this row is updatet as soon when a user finshes the subscription process or the sub. cancel process.
How to do this? Make an request to paypal when there is a new subscriber paying, then lookup the mailadress in the sheet and give the row subscribbed a 1. Same goes for unscubscribed. BUT!!! What if the paypal Account has a different Mail used than inside my App? Boing…no idea how to get over this…
If someone can help me out here, that would be amazing.
Maybe my thoughts can help you too!
Cheers Nico