On this page
Installation and Configuration
Installation
Download the module using composer. If you need instructions on how to download a module using composer for your Drupal project you can read the documentation here: how to install dependencies with composer in Drupal 8.
composer require drupal/commerce_funds
Enable the module in the "extend" section of Drupal back-office (admin/modules).
Configuration
If you just installed Drupal Commerce proceeding this installation you'll probably need to configure a store first. Go in Commerce->Configuration->Store->Add a store (admin/commerce/config/stores).
Then you'll need a payment gateway for Drupal Commerce. By default, Drupal Commerce just ships with "Manual" payment gateway which is not really convenient for our needs, so we have to install another contrib module which provides a payment gateway for Drupal Commerce. Let's say we want to implement PayPal. Download Commerce Paypal and enable the module (read the documentation). Go in Commerce->Configuration->Payment->Payment Gateway->Add payment gateway (admin/commerce/config/payment-gateways) and configure your PayPal payment gateway.
You can now go to Commerce->Funds->Configure.
Withdrawal Method
If you want your users to be able to withdraw money from their account, you'll need to enable at least one withdrawal method. By default, you'll have the choice between Check, Paypal, Bank Account, Skrill.
Don't enable withdrawal methods you don't have. Enabling one of them means you have the possibility to transfer money to your users using this method. Giving them the possibility to use PayPal for example, means that you can actually have a PayPal account you can use to make transfers.
Any other withdrawal method can be added to your website with further code development, as methods are built under the Drupal plugin service.
Help improve this page
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion