The project is in a healthy, maintained state
Spree extension adding Direct Debit as a B2B payment method, where payments are processed externally via the banking system.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

= 5.3.6
>= 5.3.0
 Project Readme

Spree Direct Debit

Overview

spree_direct_debit is a Spree extension that adds Direct Debit as a payment method. This is a B2B payment method where customers have already completed bank direct debit registration procedures in advance.

Direct Debit Payment Features

  • B2B payment method requiring prior bank direct debit registration.
  • No payment processing is handled within the Spree system.
  • No need for customers to enter card details or payment information on the EC site.

Payment Flow

  1. Customer selects "Direct Debit" as the payment method.
  2. Customer proceeds to the confirmation screen and clicks the order confirmation button.
  3. Upon order confirmation, the system automatically changes the order status to paid.
  4. The actual bank withdrawal occurs later through the banking system (external to Spree).

Installation

Add this line to your Spree application's Gemfile:

gem 'spree_direct_debit'

Then run:

bundle install

Configuration

You can configure the Direct Debit payment method via script:

Spree::PaymentMethod::DirectDebit.find_or_create_by(
  name: "Direct debit",
  description: "Direct debit payment method",
  active: true,
  display_on: "both",
  auto_capture: true
)

Usage

Once installed and configured, customers will be able to select "Direct Debit" as a payment method during checkout. The order status will automatically update to paid upon order confirmation, and the actual payment will be handled externally by the banking system.

License

This extension is available as open source under the terms of either:

Credits

Originally created by Vinsol. Fork maintained by be agile Co., Ltd..