Paypal payments

You can receive payments via PayPal using Splynx. Splynx generates invoices for services that are sent to customer’s email and to Splynx portal. From Splynx portal customer can pay the invoice using Paypal.


When customer clicks the PayPal button and applies to pay now, he is transferred to the PayPal page to make the payment.

Customers can also add a credit card on PayPal payment webpage, if they don’t have a PayPal account.

Add card

After payment has made, the invoice is marked as paid, transaction in Splynx is created and customer’s balance is changed.

There are several steps needed to configure Splynx PayPal add-on:

Install the add-on with commands:

apt-get update
apt-get install splynx-paypal

or you can install it from Web UI:

Config → Integrations → Add-ons:



Activate developer’s tool in your PayPal account.

Get the access to your business PayPal account on website

ClientID and ClientSecret are the values Splynx needs. Click on Add new Rest API application, call it Splynx.


Then, you can find ClientID and Secret on the page of application. Important is to choose “Live” version, because it shows values for test Sandbox account by default.


When you got the ClientID and Secret, you can put it to Splynx server and connect Splynx with PayPal.

Configure Splynx to work with your PayPal account.

You should go to Config/Modules/List and click edit Splynx PayPal addon: Edit addon

where you can find Common settings and Partners settings:

Common settings

for each partner you can use own settings!

Also on this page you can enable widgets for the customer portal.

One Enable widget

Enable widget

Another (only for customers with type of billing -> Prepaid (Daily) ) Enable widget

Enable widget

You can allow customers with billing type Prepaid (Monthly) use last widget. To do this, code should be modified. Replace if customer.billing_type == 'prepaid' to if customer.billing_type == 'prepaid_monthly' or customer.billing_type == 'prepaid':

Enable widget