Stripe
Stripe is a Splynx add-on used to synchronize customers, invoices and payments with the Stripe payment gateway - https://stripe.com.
Installation
The add-on can be installed in two methods, via the CLI or the Web UI of your Splynx server.
To install the Stripe add-on via CLI, the following commands can be used:
apt-get update
apt-get install splynx-stripe
To install it via the Web UI:
Navigate to Config → Integrations → Add-ons
:
Locate or search for the "splynx-stripe" add-on and click on the install icon in the Actions column, you will be presented with a window to confirm or cancel the installation, click on confirm to begin the installation process:
Configuration
After the installation process has completed, you have to configure the parameters in Config → Modules List
Locate or search for the "splynx_stripe_add-on" and click on the Edit icon in the Actions column:
You have to Set your Splynx URL, Public Key and Secret Key:
Add credentials
Customers have to add a credit card in the customer portal:
Pay for invoices
Once the configuration is completed, customers can pay for their invoices using the stripe.com system in Finance / Invoices:
If everything went well, you will see the status of the invoice marked as "Paid" (in the customer and admin portal):
Charge invoices and balances
Additionally, you can charge all customers' invoices and balances using one button. Navigate to Finance → Invoices, set the period and click on Charge
as depicted below:
To charge invoices, choose stripe-invoices as the External handler:
To charge balances, choose stripe-outstanding-balances as the External handler:
Direct payments
You have the option to include a direct payment link in your invoice or proforma invoice template, as well as in your email notification template for invoices and proforma invoices. By doing so, your customers will be able to pay their invoices without requiring any authorization:
http://YOUR_DOMAIN/stripe/direct-pay-invoice?item_id={{ invoice.number }} http://YOUR_DOMAIN/stripe/direct-pay-invoice-by-id?item_id={{ invoice.id }} http://YOUR_DOMAIN/stripe/direct-pay-request?item_id={{ request.number }} http://YOUR_DOMAIN/stripe/direct-pay-request-by-id?item_id={{ request.id }}