{"repo":"solidusio/solidus_stripe","free":true,"listed":false,"github":"https://github.com/solidusio/solidus_stripe","clone":"git clone https://github.com/solidusio/solidus_stripe.git","description":"💳 Integrate Solidus with Stripe","language":"Ruby","stars":42,"topics":["stripe-payment","payment-methods","solidus","solidus-stripe","stripe","hacktoberfest"],"license":"BSD-3-Clause","category":"auth-billing-email","readme_excerpt":"Solidus Stripe Installation Add solidus stripe to your bundle and run the installation generator: Then set the following environment variables both locally and in production in order to setup the solidus stripe env credentials static preference as defined in the initializer: Once those are available you can create a new Stripe payment method in the /admin interface and select the solidus stripe env credentials static preference. ⚠️ Be sure to set the enviroment variables to the values for test mode in your development environment. Webhooks setup The webhooks URLs are automatically generated based on the enviroment, by default it will be scoped to live in production and test everywhere else. Production enviroment Before going to production, you'll need to register the webhook endpoint with Stripe, and make sure to subscribe to the events listed in the SolidusStripe::Webhook::Event::CORE constant. So in your Stripe dashboard you'll need to set the webhook URL to: https://store.example.com/solidus stripe/live/webhooks Non-production enviroments While for development you should use the stripe CLI to forward the webhooks to your local server: Supporting solidus frontend If you need support for solidus frontend please refer to the README of solidus stripe v4. Installing on a custom frontend If you're using a custom frontend you'll need to adjust the code copied to your application by the installation generator. Given frontend choices can vary wildly, we can't provide a one-size-fit","default_branch":null,"files":null,"tree":[],"storefront":"/r/solidusio","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/solidusio/solidus_stripe/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}