andrewculver / koudoku

Robust subscription support for Rails with Stripe.
MIT License
1.16k stars 187 forks source link

Testing functionality at https://koudoku.herokuapp.com #55

Open jocubeit opened 10 years ago

jocubeit commented 10 years ago

I've tried using a variety test card numbers as published at https://stripe.com/docs/testing to see Koudoku working, but I keeping getting "There was a problem processing this transaction." and "Your card was declined.". Understandably, I don't want to provide real credit card details to a test app; is there a combination of details that work?

todddickerson commented 10 years ago

+1

evolve2k commented 10 years ago

+1

andrewculver commented 10 years ago

Have you all tried 4242424242424242? That's what I use all the time. Any expiration date (in the future) and security code.

evolve2k commented 10 years ago

I tried that credit card number just now. I'm getting this.

stripe subscriptions on rails koudoku

andrewculver commented 10 years ago

Ah, gotcha! I didn't catch that this was about the demo site. You're right, it's in production mode. Will fix this up and post an update in this thread.

evolve2k commented 10 years ago

Oh while you're there maybe add the dummy credit card number to use to the yellow text on that page.

I knew of it but still went to hunt for the actual number would be awesome if it was right there for when people trying out the demo.

Thanks!

On 19 May 2014, at 12:05 am, Andrew Culver notifications@github.com wrote:

Ah, gotcha! I didn't catch that this was about the demo site. You're right, it's in production mode. Will fix this up and post an update in this thread.

— Reply to this email directly or view it on GitHub.

evolve2k commented 10 years ago

Is the demo app available as a repo somewhere so we can just spin it up locally in the mean time?

evolve2k commented 10 years ago

bump.

evolve2k commented 10 years ago

I'm assuming you just haven't had time to update your stripe credentials and stuff around working out how to do it off the top of your head. In case it's because you haven't had time to look it up here's the quickest way to get it sorted. Not trying to say you don't know what to do, just wanting to be of service to save you stuffing around.

  1. Grab test API keys from your stripe dashboard. (https://dashboard.stripe.com/account/apikeys)
  2. Run these commands from the terminal (replacing these dummy keys)

    $ heroku config:set STRIPE_SECRET_KEY='sk_test_sfwdummyexample2kjhfdklhkds' -a koudoku $ heroku config:set STRIPE_PUBLISHABLE_KEY='pk_test_bnwdummyexampleh42jk' -a koudoku

Sorted! ;)

drobazko commented 10 years ago

+1