Posts

Showing posts with the label stripe-payments

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 tal...

How to add a payment source with insufficient funds using stripe?

How to add a payment source with insufficient funds using stripe? I am trying to test a scenario where the user's card has insufficient funds. Following the docs at https://stripe.com/docs/testing - the cardnumber 4000 0000 0000 0002 should yield such an error. The source is considered valid in the Stripe SDK, and it generates a source token , but when calling their create_source API, It comes back with a Request req_nGnzPdJHjw4lrk: Your card was declined. -message, even though I have not created any charge yet. 4000 0000 0000 0002 valid token create_source Request req_nGnzPdJHjw4lrk: Your card was declined. The documentation at https://stripe.com/docs/saving-cards states: Stripe validates card information when it is saved. This does not guarantee that any future charges succeed (e.g., the card no longer has sufficient funds, is reported lost or stolen, or if the account is closed). This process also includes the results of any checks, including traditional bank checks by Radar ...