Despite finding many Parse / Stripe questions on this platform, none have been able to assist me with my specific issue.
In my mobile application, I have both free and paid features. A variable stored on the User
class in Parse.com is used to check permissions when running a function. I am looking to create an account portal, separate from my app, where users can sign up for different plans securely via their browser.
For this account portal, I have set up a WordPress site with a Stripe plugin to handle accounting, invoicing, and form creation tasks.
After users sign up on the WordPress site, I want to receive a webhook on Parse.com and execute a function to update the User
class. Ideally, this function will manage various user states based on their account status, such as putting a plan on hold if they stop paying.
My question encompasses two main points:
What specific details (URL, etc.) do I need to include in my Stripe webhook settings to ensure all events are sent to my Parse.com cloud code?
How can I receive and execute my function on the cloud code when a webhook is received from Parse.com?
I am open to constructive feedback and suggestions on how to improve the functionality of my app.
Thank you for your help in advance.