Deprecated: KadenceWP\KadenceBlocks\StellarWP\Uplink\Pipeline\Pipeline::__construct(): Implicitly marking parameter $container as nullable is deprecated, the explicit nullable type must be used instead in /var/www/vhosts/nordicmessaging.se/nmt.enestedt-playground.se/wp-content/plugins/kadence-blocks/vendor/vendor-prefixed/stellarwp/uplink/src/Uplink/Pipeline/Pipeline.php on line 52

Deprecated: KadenceWP\KadenceBlocks\StellarWP\Uplink\Resources\Plugin::register(): Implicitly marking parameter $license_class as nullable is deprecated, the explicit nullable type must be used instead in /var/www/vhosts/nordicmessaging.se/nmt.enestedt-playground.se/wp-content/plugins/kadence-blocks/vendor/vendor-prefixed/stellarwp/uplink/src/Uplink/Resources/Plugin.php on line 172

Deprecated: KadenceWP\KadenceBlocks\StellarWP\Uplink\Resources\Resource::__construct(): Implicitly marking parameter $license_class as nullable is deprecated, the explicit nullable type must be used instead in /var/www/vhosts/nordicmessaging.se/nmt.enestedt-playground.se/wp-content/plugins/kadence-blocks/vendor/vendor-prefixed/stellarwp/uplink/src/Uplink/Resources/Resource.php on line 128

Deprecated: KadenceWP\KadenceBlocks\StellarWP\Uplink\Resources\Resource::register(): Implicitly marking parameter $license_class as nullable is deprecated, the explicit nullable type must be used instead in /var/www/vhosts/nordicmessaging.se/nmt.enestedt-playground.se/wp-content/plugins/kadence-blocks/vendor/vendor-prefixed/stellarwp/uplink/src/Uplink/Resources/Resource.php on line 400

Deprecated: KadenceWP\KadenceBlocks\StellarWP\Uplink\Resources\Resource::register_resource(): Implicitly marking parameter $license_class as nullable is deprecated, the explicit nullable type must be used instead in /var/www/vhosts/nordicmessaging.se/nmt.enestedt-playground.se/wp-content/plugins/kadence-blocks/vendor/vendor-prefixed/stellarwp/uplink/src/Uplink/Resources/Resource.php on line 417
Billing plugin feature - Nordic Messaging

Billing plugin feature

The billing plugin functionality is a separately licensed feature enabling the possibility to set fee and cost per message from a plugin.

In its simplest form it can set the fee and cost to hard-coded values:

$qe->{CHARGE} = 0.03211;
$qe->{CHARGE_COST} = 0.02456;

However, in a more realistic scenario it would probably calculate the pricing based on information from database tables, LDAP lookups or similar.

Sample plugin (written in Perl) using the EMG Portal database schema to determine message fee and cost:

billing.pl