Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Parse Server and Stripe Events

I am hosting my parse server on Heroku. Before migrating my parse.com account, I used the webhooks feature of parse to process billing events from Stripe using the URL http:[email protected]/1/functions/stripEvents in strip's webhooks.

I have installed the node Stripe module as per the instructions of the migration steps.

My understanding is that api calls are no longer supported in the parse server platform. How would I route/send posts sent from Stripe to a function inside the new parse server platform?

Thanks

like image 735
Mehdi Avatar asked May 11 '26 19:05

Mehdi


1 Answers

I stand corrected, it does work. www.your_app_name.herokuapp.com/path/functions/yourFunctionName is the URL to access a cloud function. You do however need to add the needed security keys. In the case of stripe you past this URL:

https://MASTER_KEY:javascript-key=JAVASCRIPT_KEY@your_app_name.herokuapp.com/v1/functions/FUNCTION_NAME

note that I mount my parse app on path V1.

like image 89
Mehdi Avatar answered May 15 '26 06:05

Mehdi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!