Firstly, I see that there are a few Parse / Stripe questions here, but none of them help me.
I have a mobile application that has both free and paid features. The variable is stored in the User class in Parse.com and is checked for permissions when the function starts. I would like to set up an account portal (separate for my application), so when users want to register, they are sent to their browser and can subscribe to the plan via SSL, etc.
For the account portal, I have a Wordpress site with a Stripe plugin that will run my accounts, billing, and creating forms for me.
After registering on the Wordpress website, I would like to get a webhook on Parse.com and run the function to update the User class. Ideally, this would be a catch function that changes the user to several states depending on the state of the account (that is, they will stop paying and the plan will be suspended).
My question is double:
What details (URL, etc.) do I need to place in the settings of my Stripe website to send all events to my Parse.com cloud code?
How do I get / run my function in the cloud when I receive a website from Parse.com?
I am open to criticism and retain flexibility in my implementation if you have any suggestions on how my application should work.
Thank you very much in advance.
source share