IntegraPay payments processing in Splynx

Every business needs to get paid. Now Australian, New Zealand WISPs can process recurring billing by Direct Debit or take credit card payments online through IntegraPay using Splynx software. For more information about supported payment systems, please check out the article here.

IntegraPay is a Splynx add-on. It uses to synchronize customers, invoices and payments with payment software – IntegraPay. Customers using IntegraPay can pay their invoices using credit card on Portal or you can charge your customers bank accounts by debit orders.

Splynx generates invoices for services every month, that are sent to customer’s email and to Splynx portal. Сustomer can make a payment from the Portal by clicking the Credit Card icon and pressing the button Pay Now.


Should you have any questions regarding the configuration or further information is needed, please contact us or schedule a call with our engineer.

Splynx API

The bigger business, the bigger amount of customizations and integrations it requires. Splynx provides an easy way to create additional modules or integrate it with 3rd-party software solutions. Our system is a powerful set of modules and open application interfaces (API), which is why we call it a Framework. For administrators, this means almost unlimited possibilities for software customization.

We follow the RESTful principles, so the API is stateless and http methods and response codes are used whenever possible.

 


The links for API documentation:

Splynx API Documentation

Repository with PHP API Class for Splynx ISP Framework


 

PHP Api example

<?php
/**
 * Splynx API v.1.0 demo script
 * Author: Ruslan Malymon (Top Net Media s.r.o.)
 * https://splynx.com/wiki/index.php/API - documentation
 */

include 'SplynxApi.php';

$api_url = 'http://splynx/'; // please set your Splynx URL

$key = "3d052b922dc2f44d1d03d957ff5691ba"; // please set your key
$secret = "4d944c2d4d55bd78a1af0f6b8d5958af"; // please set your secret

// don't forget to add permissions to API Key, for changing locations.

$api = new SplynxAPI($api_url, $key, $secret);

$locationsApiUrl = "admin/administration/locations";

print "<pre>";

print "List locations\n";
$result = $api->api_call_get($locationsApiUrl);
print "Result: ";
if ($result) {
    print "Ok!\n";
    print_r($api->response);
} else {
    print "Fail! Error code: $api->response_code\n";
    print_r($api->response);
}
print "\n-------------------------------------------------\n";

print "Create location\n";
$result = $api->api_call_post($locationsApiUrl,
    array(
        'name' => 'API test #' . rand()
    ));

print "Result: ";
if ($result) {
    print "Ok!\n";
    print_r($api->response);
    $locationId = $api->response['id'];
} else {
    print "Fail! Error code: $api->response_code\n";
    print_r($api->response);
    $locationId = false;
}
print "\n-------------------------------------------------\n";

if ($locationId) {

    print "Retrieve location " . $locationId . "\n";
    $result = $api->api_call_get($locationsApiUrl, $locationId);
    print "Result: ";
    if ($result) {
        print "Ok!\n";
        print_r($api->response);
    } else {
        print "Fail! Error code: $api->response_code\n";
        print_r($api->response);
    }
    print "\n-------------------------------------------------\n";


    print "Change created location name\n";
    $result = $api->api_call_put($locationsApiUrl, $locationId, array('name' => 'NAME CHANGED #' . mt_rand()));
    print "Result: ";
    if ($result) {
        print "Ok!\n";
        print_r($api->response);
    } else {
        print "Fail! Error code: $api->response_code\n";
        print_r($api->response);
    }
    print "\n-------------------------------------------------\n";

    print "Retrieve updated info\n";
    $result = $api->api_call_get($locationsApiUrl, $locationId);
    print "Result: ";
    if ($result) {
        print "Ok!\n";
        print_r($api->response);
    } else {
        print "Fail! Error code: $api->response_code\n";
        print_r($api->response);
    }
    print "\n-------------------------------------------------\n";

    print "Delete created location\n";
    $result = $api->api_call_delete($locationsApiUrl, $locationId);
    print "Result: ";
    if ($result) {
        print "Ok!\n";
        print_r($api->response);
    } else {
        print "Fail! Error code: $api->response_code\n";
        print_r($api->response);
    }
    print "\n-------------------------------------------------\n";

}

 


Should you have any questions or further information is needed, please contact us or schedule a call with our engineer.

QuickBooks Integration

Watch The Video How Splynx Can Be Integrated with Quickbooks Software

Fill in the contact form below to get more information about our products and license conditions:

Quickbooks Integration

Watch The Video How Splynx Can Be Integrated with Quickbooks Software

Fill in the contact form below to get more information about our products and license conditions: