|
|
Re2o allows you to handle payments to give access to the internet to your users. This page describes how to create these payments types.
|
|
|
|
|
|
# Basic : create a payment type
|
|
|
In the navigation bar, go to `Members>manage cotisations`. Then in the left menu, click on `Payment methods`. To create a payment type, click on `Add a payment type`. You can choose a name for this payment type, decide whether everyone can use this payment type to buy the articles which are available to everyone or if the `cotisations.use_every_payment` right is required to use this payment. Then there is the "Payment method" field, which allow you to choose a payment method.
|
|
|
|
|
|
# Payment method
|
|
|
Here are listed the different payment methods implemented into Re2o. If you want another one to be implemented, please open an issue [here](https://gitlab.federez.net/federez/re2o/issues), our team of highly trained monkey will start working on it ASAP.
|
|
|
|
|
|
## No payment method
|
|
|
|
|
|
That's the default behaviour, at the end of the payment, the invoice is simply validated, and a message is displayed.
|
|
|
|
|
|
## ComNpay
|
|
|
|
|
|
To accept online payments using bank card, we implemented this payment method, which interact with [ComNpay](https://www.comnpay.com/) in order to validate the invoice. To use it you need to create a ComNpay account. Then just create a payment type whose payment method is `COMNPAY`. You will have to register your VAD (_Vente à Distance_) number and your secret key. The secret key is encrypted in the database using the AES algorithm. For that you need an `AES_KEY` in your settings (if you use our install script, one have been generated during the installation). See [the _settings file_ wiki page](User Documentation/Settings file) for more.
|
|
|
|
|
|
_Note: the user has to be able to reach the ComNpay servers in order to pay the invoice, so take that into account if you plan to allow them to pay their subscription even when they have no access to the internet yet._
|
|
|
|
|
|
## Cheque
|
|
|
|
|
|
If you want to allow cheque payment. The invoice is instantly validated after a bank and a cheque number have been asked to the user.
|
|
|
|
|
|
_Note: the bank and cheque number are only for statistics and manual verifications. They don't influence the automatic process._
|
|
|
|
|
|
## Balance
|
|
|
|
|
|
Allow users to pay with the money they gave you previously. People who can use this payment method will be able to credit their balance (an invoice is created upon this action). You can set maximum and minimum allowed balance (even negative minimum balance !)
|
|
|
|
|
|
# Who can use which payment to buy which article ?
|
|
|
todo
|
|
|
|
|
|
<!--
|
|
|
Je pense qu'ici un tableau serait assez clair si il prend pas trop de place avec d'un côté "personne avec droit"/"personne sans droit" et de l'autre "article for everyone with payement for everyone"/"article for erveryone with payement not for everyone"/...
|
|
|
|
|
|
(et des noms un peu moins long à trouver)
|
|
|
--> |
|
|
\ No newline at end of file |