https://github.com/spree/spree_stripe
The official Stripe integration for Spree Commerce open-source eCommerce platform. Stripe Connect integration is also available.
https://github.com/spree/spree_stripe
spree spree-commerce stripe stripe-checkout stripe-connect stripe-elements stripe-payments
Last synced: 3 months ago
JSON representation
The official Stripe integration for Spree Commerce open-source eCommerce platform. Stripe Connect integration is also available.
- Host: GitHub
- URL: https://github.com/spree/spree_stripe
- Owner: spree
- License: other
- Created: 2025-03-07T13:34:18.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-06-13T17:01:21.000Z (4 months ago)
- Last Synced: 2025-06-13T18:23:00.912Z (4 months ago)
- Topics: spree, spree-commerce, stripe, stripe-checkout, stripe-connect, stripe-elements, stripe-payments
- Language: Ruby
- Homepage: https://spreecommerce.org/docs/integrations/payments/stripe
- Size: 182 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Spree Stripe
This is the official Stripe payment gateway extension for [Spree Commerce](https://spreecommerce.org) [open-source eCommerce platform](https://spreecommerce.org/).
This Stripe integration is bundled in the [Spree Starter](https://github.com/spree/spree_starter/) for your development convenience.
Or you could follow the [installation instructions](https://spreecommerce.org/docs/integrations/payments/stripe).
If you like what you see, consider giving this repo a GitHub star :star:
Thank you for supporting Spree open-source :heart:
> [!IMPORTANT]
> This Stripe integration for Spree is free to use for private projects but requires a [Commercial License](https://spreecommerce.org/why-consider-a-commercial-license-for-your-multi-tenant-or-saas-spree-based-project/) if you're planning to use it for your [SaaS](https://spreecommerce.org/multi-tenant-white-label-ecommerce/) or a [multi-tenant eCommerce](https://spreecommerce.org/multi-tenant-white-label-ecommerce/) website.
> Feel free to [reach out](https://spreecommerce.org/get-started/) to learn more.> [!TIP]
> Looking for a [Stripe Connect integration](#looking-for-a-stripe-connect-integration-for-spree) for Spree? It's available with the [Enterprise Edition](https://spreecommerce.org/spree-commerce-version-comparison-community-edition-vs-enterprise-edition/).## Features
- Support for quick checkout using Apple Pay, Google Pay, Stripe Link
- Support for 3D Secure and other security standards
- Support for off-session payments
- Support for Storefront API integration (see the API docs [here](https://spreecommerce.org/docs/api-reference/storefront/stripe)).
- Accept payments in over 130 currencies
- Accept Credit Cards, Apple Pay, Google Pay, and more
- Accept SEPA Direct Debit payments
- Accept iDEAL payments
- Accept SOFORT payments
- Accept Bancontact payments
- Accept Alipay payments
- Accept WeChat Pay payments
- Accept Afterpay, Klarna, Affirm, and more## What's new?
### Installment (BNPL) payments indicator on PDP (Product Detail Page)

### Quick payment options on the cart (Apple Pay, Google Pay, Link)

### Quick payments bypassing checkout 1st step (Apple Pay, Google Pay, Link)

### Various payment options on the payment step (cards, BNPL, Apple Pay, Google Pay, Link)

## Installation
1. Add this extension to your Gemfile with this line:
```ruby
bundle add spree_stripe
```2. Run the install generator
```ruby
bundle exec rails g spree_stripe:install
```3. Restart your server
If your server was running, restart it so that it can find the assets properly.
This Stripe integration is also bundled in the [Spree Starter](https://github.com/spree/spree_starter/) for your development convenience.
## Developing
1. Create a dummy app
```bash
bundle update
bundle exec rake test_app
```2. Add your new code
3. Run tests```bash
bundle exec rspec
```When testing your applications integration with this extension you may use it's factories.
Simply add this require statement to your spec_helper:```ruby
require 'spree_stripe/factories'
```## Releasing a new version
```shell
bundle exec gem bump -p -t
bundle exec gem release
```For more options please see [gem-release README](https://github.com/svenfuchs/gem-release)
## Contributing
If you'd like to contribute, please take a look at the
[instructions](CONTRIBUTING.md) for installing dependencies and crafting a good
pull request.Copyright (c) 2025 [Vendo Connect Inc.](https://getvendo.com), released under [AGPL 3.0 license](https://github.com/spree/spree_stripe/blob/main/LICENSE.md). Please refer to [this blog post](https://spreecommerce.org/why-spree-is-changing-its-open-source-license-to-agpl-3-0-and-introducing-a-commercial-license/) and [that blog post](https://spreecommerce.org/open-source-ecommerce-transparency/) to learn more about Spree licensing.
## Looking for a Stripe Connect integration for Spree?
Spree Commerce [Enterprise Edition](https://spreecommerce.org/spree-commerce-version-comparison-community-edition-vs-enterprise-edition/) comes with a fully automated Stripe Connect integration for a [multi-vendor marketplace use case](https://spreecommerce.org/marketplace-ecommerce/):
- Automated split payments between marketplace and vendors
- Support for multiple payment methods including cards and digital wallets
- Configurable marketplace fees and commission structures
- Automated payouts to vendors
- Comprehensive transaction reporting
- Built-in fraud prevention toolsFeel free to [reach out](https://spreecommerce.org/get-started/) to learn more.
## Spree 5 Announcement & Demo
[](https://spreecommerce.org/announcing-spree-5-the-biggest-open-source-release-ever/)
We’re thrilled to unveil [Spree 5](https://spreecommerce.org/announcing-spree-5-the-biggest-open-source-release-ever/
) — the most powerful and feature-packed open-source release in Spree Commerce’s history, including:
- A completely revamped Admin Dashboard experience: boost your team's productivity
- A Mobile-First, No-code Customizable Storefront: raise conversions and loyalty
- New integrations: a native [Stripe integration](https://github.com/spree/spree_stripe), and also Stripe Connect, Klaviyo integrations available with the Enterprise Edition
- Enterprise Edition Admin Features: Audit Log, [Multi-Vendor Marketplace](https://spreecommerce.org/marketplace-ecommerce/), [Multi-tenant / White-label SaaS eCommerce](https://spreecommerce.org/multi-tenant-white-label-ecommerce/)Read the [full Spree 5 announcement here](https://spreecommerce.org/announcing-spree-5-the-biggest-open-source-release-ever/).
Check out the [Spree 5 demo](https://demo.spreecommerce.org/) for yourself, including this Stripe integration.