Paprikas Rails stripe api test
- Ruby 3.2.2
- Rails 7.1.2
- Bundler 2.4.22
- Clone or fork the repo
- run
bundle install
- run
rails db:setup
- run
rspec
to run test cases
- i know
master.key
is secret key, but it's test and keys are also from test mode so you can use my master key for now6290495ffbb906c39a1e29cbddac48d6
OR follow the process given below. - run command
EDITOR="nano --wait" rails credentials:edit
, you can use your favourite editor by change name ofnano
- add these keys in stripe
stripe:
public_key: pk_test_
secret_key: sk_test_
endpoint_secret: whsec_