Mitchell S.
Mitchell S.

Reputation: 13

Parse server payments not working

I have an app that used to be on Parse.com and now is migrated to the open source parse server running on elastic beanstalk. The app uses Stripe for payments and everything worked fine before, but after migrating to parse server, the payments are now failing. Does anyone know of something they changed or anyone had a similar problem?

Thanks

Upvotes: 1

Views: 121

Answers (2)

thailey01
thailey01

Reputation: 165

Instead of using Cloud Code, create a route in your index.js file to take care of charges. Make a post route and you can call it via jquery post or from a form. I use body-parser in index.js to retreive the post data.

Upvotes: 0

Alon Raskin
Alon Raskin

Reputation: 63

I am pretty sure that the module delivered with Parse hosted no longer works on Parse-server. I am sure that Stripe has a node module which you could install and use instead.

Upvotes: 1

Related Questions