Stripe Developer Notes

test_secret: sk_test_WemfYo9pOD8TjkwerI1XNhxo
test_publish_key: pk_test_aGSHdcst67cvtrfuw2ygwC1z

testing card
4242 4242 4242 4242

possible cert fix for local dev

error “No payment source provided”


This could be because Stripe is only a subscription service? You need to add the user as a customer to Stripe before you can charge them.

Don’t forget to run the database migrations:


error “This API call cannot be made with a publishable API key. Please use a secret API key. You can find a list of your API keys at”


You need to set your secret key to:


Sam Deering

Sam Deering is a web developer from England (currently living in Australia). In his spare time he enjoys coding, playing chess, reading and investing.

Leave a Reply

Your email address will not be published. Required fields are marked *