# Installation and Configuration
TODO
# Design modification
TODO
# Paypal integration
TODO
# Stripe integration
TIP
This part is coming from the official strip documentation.
- Add
solidus_stripegem inGemfile. Your server should be stopped before bundle it.
gem 'solidus_stripe'
- Bundle it with local
bundlecommand. When using the main one installed with ruby, it can stuck.
./bin/bundle install
- Migrate the database by using the generate interface.
./bin/bundle exec rails g solidus_stripe:install
- Retart the server locally.
./bin/rails server
Configure your test environment. publishable key and secret key can be found on stripe API keys page (opens new window). These two keys can now be added in
/admin/payment_methods(opens new window) path.You can now test it. To see what happens on the stripe logs (opens new window) and stripe events (opens new window) pages.
# Resources and References
- https://github.com/solidusio/solidus_stripe (opens new window)
- https://solidus.io/blog/2020/07/30/solidus-stripe.html (opens new window)
- https://stripe.com/docs/testing#carte-bancaires (opens new window)
- https://stripe.com/docs/payments/3d-secure (opens new window)
- https://stripe.com/docs/payments/payment-intents (opens new window)