We have a webhook created in php that does three things when it receives a json notification from the api
1. Updates the user expiry date in the sql database
2. Inserts the payment information in the database
3. Sends payment notification to admin email via Mailjet api
There is a test environment where we send test json notifications to the server and everything all tasks are successful during tests.
The issue is that on live apps on other users phones, these three tasks are successful only during initial purchase by the user, on renewal after a month, only one task is successful: inserting the payment info into the database, the others do not work. So there is a discrepancy in payment information and user expiry date which of course restricts access to services
We need someone who knows php, and is familiar with google and appstore subscriptions, these two are actually managed by revenuecat.com