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.
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:
1. Install the add-on with commands:
apt-get install splynx-paypal
2. Activate developer’s tool in your PayPal account.
Get the access to your business PayPal account on website https://developer.paypal.com
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.
3. Configure Splynx to work with your PayPal account.
Connect to Splynx server via SSH and edit file params.php located at /var/www/splynx/addons/splynx-paypal/config.
‘splynx_url’ => ‘http://yoursplynxURL/’
‘clientId’ => ‘YOURPAYPALID’
‘clientSecret’ => ‘YOURPAYPALSECRET’
If you have any questions regarding PayPal integration, please, create a ticket and Splynx team will help you to set it up: https://splynx.com/my-tickets/