Deploy Andorid/iOS app on free Heroku account for Stripe payments


Deploy Andorid/iOS app on free Heroku account for Stripe payments



I'm creating an application for Android/iOS both and implemented Stripe for payments, so I've deployed it on Heroku for free.



So my concern is that can I run Stripe on the free account (Heroku) without any issues (means we can deploy/run application by using live secret key as well or is it only for testing purpose) or do I need to use my personal paid server for the Stripe deployment to interconnect with android/iOS apps.



Referring to this link: Stripe for free - Example App Backend (Deploy to Heroku)



and what does this sentence mean



This is intended for example purposes only: you'll likely need something more serious for your production apps.



which is available on the above link.




1 Answer
1



I'm using the stripe/example-ios-backend codebase (Ruby), so after spending a lot of time by searching on Internet and also talking with support team, I found a solution with the help of Stripe Support Team.


stripe/example-ios-backend



So, the solution was just need to update the currency in web.rb file of Ruby project (Example Stripe Codebase) and redeploy the changed code to Heroku.


web.rb



Steps to follow:


heroku login


clone


heroku git:clone -a <your-app-name>


<your-app-name>


"currency" : "usd"


"currency" : "eur"


commit


git push heroku master



and that's it!






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Comments

Popular posts from this blog

paramiko-expect timeout is happening after executing the command

how to run turtle graphics in Colaboratory

Export result set on Dbeaver to CSV