forked from clone/WHMCS-Mollie-Payments
Compare commits
9 Commits
v1.1
...
update-tra
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
750ff2ebde | ||
|
|
5119185bde | ||
|
|
dcfab1de41 | ||
|
|
23301c82b0 | ||
|
|
714e467110 | ||
|
|
78849639dd | ||
|
|
b879299be7 | ||
|
|
330d74e8c9 | ||
|
|
a789cc6ec0 |
11
README.md
11
README.md
@@ -1,5 +1,5 @@
|
||||
# WHMCS Mollie Gateway
|
||||
Onofficiële Mollie gateway voor WHMCS.
|
||||
Onofficiële Mollie gateway voor WHMCS. In deze gratis plugin zit GEEN ondersteuning voor Mollie Recurring (SEPA/Automatisch Incasso). Hiervoor hebben we een [betaalde](https://0100dev.nl/modules/whmcs#WHMCS%20Mollie%20Recurring) plugin. Deze plugins zijn niet afhankelijk van elkaar en kunnen naast elkaar opereren maar ook zonder elkaar.
|
||||
|
||||
Compatible met **alle** WHMCS versies.
|
||||
|
||||
@@ -12,17 +12,18 @@ Compatible met **alle** WHMCS versies.
|
||||
+ Log in op FTP.
|
||||
+ Download de `whmcs-mollie.tar.gz` van onze [releases pagina](https://github.com/0100Dev/WHMCS-Mollie/releases) (**LET OP:** **niet** `Source code (zip)` of `Source code (tar.gz)`!).
|
||||
+ Upload alles uit de `src` folder uit de hierboven gedownloaden TAR in de `/modules/gateways` folder van uw WHMCS installatie.
|
||||
+ Opmerking: mollieideal.php van deze module moet de originele van WHMCS overschrijven. Het is tot nu toe nog niet mogelijk om het bestand een andere naam te geven dankzij WHMCS naamgevingen en interne namen.
|
||||
|
||||
### Betaalmethodes
|
||||
Alle betaalmethodes van Mollie zijn ondersteund. Zet de gewenste betaalmethodes aan door de gateway in WHMCS te activeren.
|
||||
|
||||
### Updates
|
||||
|
||||
#### V1.0 naar V1.1
|
||||
In deze release is een conflict met WHMCS haar Mollie iDeal gateway opgelost. Hierdoor moet je de Mollie IDeal gateway van ons weer opnieuw activeren.
|
||||
#### V1.0 naar V2.0
|
||||
Deze release is NIET compatible met V1.x. Verwijder eerst alle files vanuit je /modules/gateways folder die betrekking hebben op deze gateway. Alles dus met mollie_x.php. In WHMCS dien je ook opnieuw deze gateways in te schakelen. WHMCS zal aangeven dat de ouded gateways niet meer gevonden kunnen worden, dit klopt - verwijder deze en vervang deze met de nieuw ingeschakelde.
|
||||
|
||||
Let erop dat je bijvoorbeeld NIET onze mollierecurring.php moet verwijderen, als je onze betaalde Mollie Recurring gateway actief hebt.
|
||||
|
||||
### Support
|
||||
Support alleen in Github via haar issuetracker.
|
||||
Support op basis van best-effort in Github via haar issuetracker. Bbusiness support (reactietijd van max. 24 uur, normaliter <1 uur) via ons [klantenpaneel](https://my.0100dev.nl/) tegen ons uurtarief a € 45,- excl. VAT. Maak een account aan en stuur via daar een ticket in.
|
||||
|
||||
[Meer informatie via Mollie](https://www.mollie.nl/betaaldiensten/)
|
||||
|
||||
@@ -29,7 +29,7 @@ if(isset($_POST['id'])) {
|
||||
|
||||
$transaction = mysql_fetch_assoc($transactionQuery);
|
||||
|
||||
$_GATEWAY = getGatewayVariables('mollie' . $transaction['method']);
|
||||
$_GATEWAY = getGatewayVariables('mollie' . $transaction['method'] . '_devapp');
|
||||
|
||||
if ($transaction['status'] != 'open') {
|
||||
logTransaction($_GATEWAY['paymentmethod'], array_merge($transaction, $_POST), 'Callback - Failure 3 (Transaction not open)');
|
||||
|
||||
@@ -11,9 +11,9 @@ $_GATEWAYLANG['checkPayment'] = 'We controleren je betaling, moment geduld...';
|
||||
$_GATEWAYLANG['payWithBanktransfer'] = 'Betaal met Bank overschrijving';
|
||||
$_GATEWAYLANG['payWithBelfius'] = 'Betaal met Belfius';
|
||||
$_GATEWAYLANG['payWithBitcoin'] = 'Betaal met Bitcoin';
|
||||
$_GATEWAYLANG['payWithDirectdebit'] = 'Betaal met Automatisch Incasso';
|
||||
$_GATEWAYLANG['payWithCreditcard'] = 'Betaal met Creditcard';
|
||||
$_GATEWAYLANG['payWithIdeal'] = 'Betaal met iDeal';
|
||||
$_GATEWAYLANG['payWithMistercash'] = 'Betaal met Bancontact';
|
||||
$_GATEWAYLANG['payWithPaypal'] = 'Betaal met PayPal';
|
||||
$_GATEWAYLANG['payWithPaysafecard'] = 'Betaal met Paysafecard';
|
||||
$_GATEWAYLANG['payWithSofort'] = 'Betaal met Sofort Banking';
|
||||
$_GATEWAYLANG['payWithSofort'] = 'Betaal met Sofort Banking';
|
||||
|
||||
@@ -12,9 +12,9 @@ $_GATEWAYLANG['checkPayment'] = 'Checking your payment, please wait...';
|
||||
$_GATEWAYLANG['payWithBanktransfer'] = 'Pay with Bank Transfer';
|
||||
$_GATEWAYLANG['payWithBelfius'] = 'Pay with Belfius';
|
||||
$_GATEWAYLANG['payWithBitcoin'] = 'Pay with Bitcoin';
|
||||
$_GATEWAYLANG['payWithDirectdebit'] = 'Pay with Direct Debit';
|
||||
$_GATEWAYLANG['payWithCreditcard'] = 'Pay with Credit Card';
|
||||
$_GATEWAYLANG['payWithIdeal'] = 'Pay with iDeal';
|
||||
$_GATEWAYLANG['payWithMistercash'] = 'Pay with Bancontact';
|
||||
$_GATEWAYLANG['payWithPaypal'] = 'Pay with PayPal';
|
||||
$_GATEWAYLANG['payWithPaysafecard'] = 'Pay with Paysafecard';
|
||||
$_GATEWAYLANG['payWithSofort'] = 'Pay with Sofort Banking';
|
||||
$_GATEWAYLANG['payWithSofort'] = 'Pay with Sofort Banking';
|
||||
|
||||
40
src/molliemistercash.php → src/molliebancontact_devapp.php
Executable file → Normal file
40
src/molliemistercash.php → src/molliebancontact_devapp.php
Executable file → Normal file
@@ -1,20 +1,20 @@
|
||||
<?php
|
||||
|
||||
require_once __DIR__ . '/mollie/mollie.php';
|
||||
|
||||
function molliemistercash_config() {
|
||||
$config = mollie_config();
|
||||
|
||||
$config = array_merge($config, array(
|
||||
'FriendlyName' => array(
|
||||
'Type' => 'System',
|
||||
'Value'=> 'Mollie Bancontact'
|
||||
)
|
||||
));
|
||||
|
||||
return $config;
|
||||
}
|
||||
|
||||
function molliemistercash_link($params) {
|
||||
return mollie_link($params, Mollie_API_Object_Method::MISTERCASH);
|
||||
}
|
||||
<?php
|
||||
|
||||
require_once __DIR__ . '/mollie/mollie.php';
|
||||
|
||||
function molliebancontact_devapp_config() {
|
||||
$config = mollie_config();
|
||||
|
||||
$config = array_merge($config, array(
|
||||
'FriendlyName' => array(
|
||||
'Type' => 'System',
|
||||
'Value'=> 'Mollie Bancontact'
|
||||
)
|
||||
));
|
||||
|
||||
return $config;
|
||||
}
|
||||
|
||||
function molliebancontact_devapp_link($params) {
|
||||
return mollie_link($params, Mollie_API_Object_Method::MISTERCASH);
|
||||
}
|
||||
40
src/molliebanktransfer.php → src/molliebanktransfer_devapp.php
Executable file → Normal file
40
src/molliebanktransfer.php → src/molliebanktransfer_devapp.php
Executable file → Normal file
@@ -1,20 +1,20 @@
|
||||
<?php
|
||||
|
||||
require_once __DIR__ . '/mollie/mollie.php';
|
||||
|
||||
function molliebanktransfer_config() {
|
||||
$config = mollie_config();
|
||||
|
||||
$config = array_merge($config, array(
|
||||
'FriendlyName' => array(
|
||||
'Type' => 'System',
|
||||
'Value'=> 'Mollie Bank Transfer'
|
||||
)
|
||||
));
|
||||
|
||||
return $config;
|
||||
}
|
||||
|
||||
function molliebanktransfer_link($params) {
|
||||
return mollie_link($params, Mollie_API_Object_Method::BANKTRANSFER);
|
||||
}
|
||||
<?php
|
||||
|
||||
require_once __DIR__ . '/mollie/mollie.php';
|
||||
|
||||
function molliebanktransfer_devapp_config() {
|
||||
$config = mollie_config();
|
||||
|
||||
$config = array_merge($config, array(
|
||||
'FriendlyName' => array(
|
||||
'Type' => 'System',
|
||||
'Value'=> 'Mollie Bank Transfer'
|
||||
)
|
||||
));
|
||||
|
||||
return $config;
|
||||
}
|
||||
|
||||
function molliebanktransfer_devapp_link($params) {
|
||||
return mollie_link($params, Mollie_API_Object_Method::BANKTRANSFER);
|
||||
}
|
||||
40
src/molliebelfius.php → src/molliebelfius_devapp.php
Executable file → Normal file
40
src/molliebelfius.php → src/molliebelfius_devapp.php
Executable file → Normal file
@@ -1,20 +1,20 @@
|
||||
<?php
|
||||
|
||||
require_once __DIR__ . '/mollie/mollie.php';
|
||||
|
||||
function molliebelfius_config() {
|
||||
$config = mollie_config();
|
||||
|
||||
$config = array_merge($config, array(
|
||||
'FriendlyName' => array(
|
||||
'Type' => 'System',
|
||||
'Value'=> 'Mollie Belfius'
|
||||
)
|
||||
));
|
||||
|
||||
return $config;
|
||||
}
|
||||
|
||||
function molliebelfius_link($params) {
|
||||
return mollie_link($params, Mollie_API_Object_Method::BELFIUS);
|
||||
}
|
||||
<?php
|
||||
|
||||
require_once __DIR__ . '/mollie/mollie.php';
|
||||
|
||||
function molliebelfius_devapp_config() {
|
||||
$config = mollie_config();
|
||||
|
||||
$config = array_merge($config, array(
|
||||
'FriendlyName' => array(
|
||||
'Type' => 'System',
|
||||
'Value'=> 'Mollie Belfius'
|
||||
)
|
||||
));
|
||||
|
||||
return $config;
|
||||
}
|
||||
|
||||
function molliebelfius_devapp_link($params) {
|
||||
return mollie_link($params, Mollie_API_Object_Method::BELFIUS);
|
||||
}
|
||||
40
src/molliebitcoin.php → src/molliebitcoin_devapp.php
Executable file → Normal file
40
src/molliebitcoin.php → src/molliebitcoin_devapp.php
Executable file → Normal file
@@ -1,20 +1,20 @@
|
||||
<?php
|
||||
|
||||
require_once __DIR__ . '/mollie/mollie.php';
|
||||
|
||||
function molliebitcoin_config() {
|
||||
$config = mollie_config();
|
||||
|
||||
$config = array_merge($config, array(
|
||||
'FriendlyName' => array(
|
||||
'Type' => 'System',
|
||||
'Value'=> 'Mollie Bitcoin'
|
||||
)
|
||||
));
|
||||
|
||||
return $config;
|
||||
}
|
||||
|
||||
function molliebitcoin_link($params) {
|
||||
return mollie_link($params, Mollie_API_Object_Method::BITCOIN);
|
||||
}
|
||||
<?php
|
||||
|
||||
require_once __DIR__ . '/mollie/mollie.php';
|
||||
|
||||
function molliebitcoin_devapp_config() {
|
||||
$config = mollie_config();
|
||||
|
||||
$config = array_merge($config, array(
|
||||
'FriendlyName' => array(
|
||||
'Type' => 'System',
|
||||
'Value'=> 'Mollie Bitcoin'
|
||||
)
|
||||
));
|
||||
|
||||
return $config;
|
||||
}
|
||||
|
||||
function molliebitcoin_devapp_link($params) {
|
||||
return mollie_link($params, Mollie_API_Object_Method::BITCOIN);
|
||||
}
|
||||
40
src/molliecreditcard.php → src/molliecreditcard_devapp.php
Executable file → Normal file
40
src/molliecreditcard.php → src/molliecreditcard_devapp.php
Executable file → Normal file
@@ -1,20 +1,20 @@
|
||||
<?php
|
||||
|
||||
require_once __DIR__ . '/mollie/mollie.php';
|
||||
|
||||
function molliecreditcard_config() {
|
||||
$config = mollie_config();
|
||||
|
||||
$config = array_merge($config, array(
|
||||
'FriendlyName' => array(
|
||||
'Type' => 'System',
|
||||
'Value'=> 'Mollie Creditcard'
|
||||
)
|
||||
));
|
||||
|
||||
return $config;
|
||||
}
|
||||
|
||||
function molliecreditcard_link($params) {
|
||||
return mollie_link($params, Mollie_API_Object_Method::CREDITCARD);
|
||||
}
|
||||
<?php
|
||||
|
||||
require_once __DIR__ . '/mollie/mollie.php';
|
||||
|
||||
function molliecreditcard_devapp_config() {
|
||||
$config = mollie_config();
|
||||
|
||||
$config = array_merge($config, array(
|
||||
'FriendlyName' => array(
|
||||
'Type' => 'System',
|
||||
'Value'=> 'Mollie Creditcard'
|
||||
)
|
||||
));
|
||||
|
||||
return $config;
|
||||
}
|
||||
|
||||
function molliecreditcard_devapp_link($params) {
|
||||
return mollie_link($params, Mollie_API_Object_Method::CREDITCARD);
|
||||
}
|
||||
40
src/molliepaypal.php → src/molliepaypal_devapp.php
Executable file → Normal file
40
src/molliepaypal.php → src/molliepaypal_devapp.php
Executable file → Normal file
@@ -1,20 +1,20 @@
|
||||
<?php
|
||||
|
||||
require_once __DIR__ . '/mollie/mollie.php';
|
||||
|
||||
function molliepaypal_config() {
|
||||
$config = mollie_config();
|
||||
|
||||
$config = array_merge($config, array(
|
||||
'FriendlyName' => array(
|
||||
'Type' => 'System',
|
||||
'Value'=> 'Mollie PayPal'
|
||||
)
|
||||
));
|
||||
|
||||
return $config;
|
||||
}
|
||||
|
||||
function molliepaypal_link($params) {
|
||||
return mollie_link($params, Mollie_API_Object_Method::PAYPAL);
|
||||
}
|
||||
<?php
|
||||
|
||||
require_once __DIR__ . '/mollie/mollie.php';
|
||||
|
||||
function molliepaypal_devapp_config() {
|
||||
$config = mollie_config();
|
||||
|
||||
$config = array_merge($config, array(
|
||||
'FriendlyName' => array(
|
||||
'Type' => 'System',
|
||||
'Value'=> 'Mollie PayPal'
|
||||
)
|
||||
));
|
||||
|
||||
return $config;
|
||||
}
|
||||
|
||||
function molliepaypal_devapp_link($params) {
|
||||
return mollie_link($params, Mollie_API_Object_Method::PAYPAL);
|
||||
}
|
||||
40
src/molliepaysafecard.php → src/molliepaysafecard_devapp.php
Executable file → Normal file
40
src/molliepaysafecard.php → src/molliepaysafecard_devapp.php
Executable file → Normal file
@@ -1,20 +1,20 @@
|
||||
<?php
|
||||
|
||||
require_once __DIR__ . '/mollie/mollie.php';
|
||||
|
||||
function molliepaysafecard_config() {
|
||||
$config = mollie_config();
|
||||
|
||||
$config = array_merge($config, array(
|
||||
'FriendlyName' => array(
|
||||
'Type' => 'System',
|
||||
'Value'=> 'Mollie Paysafecard'
|
||||
)
|
||||
));
|
||||
|
||||
return $config;
|
||||
}
|
||||
|
||||
function molliepaysafecard_link($params) {
|
||||
return mollie_link($params, Mollie_API_Object_Method::PAYSAFECARD);
|
||||
}
|
||||
<?php
|
||||
|
||||
require_once __DIR__ . '/mollie/mollie.php';
|
||||
|
||||
function molliepaysafecard_devapp_config() {
|
||||
$config = mollie_config();
|
||||
|
||||
$config = array_merge($config, array(
|
||||
'FriendlyName' => array(
|
||||
'Type' => 'System',
|
||||
'Value'=> 'Mollie Paysafecard'
|
||||
)
|
||||
));
|
||||
|
||||
return $config;
|
||||
}
|
||||
|
||||
function molliepaysafecard_devapp_link($params) {
|
||||
return mollie_link($params, Mollie_API_Object_Method::PAYSAFECARD);
|
||||
}
|
||||
40
src/molliesofort.php → src/molliesofort_devapp.php
Executable file → Normal file
40
src/molliesofort.php → src/molliesofort_devapp.php
Executable file → Normal file
@@ -1,20 +1,20 @@
|
||||
<?php
|
||||
|
||||
require_once __DIR__ . '/mollie/mollie.php';
|
||||
|
||||
function molliesofort_config() {
|
||||
$config = mollie_config();
|
||||
|
||||
$config = array_merge($config, array(
|
||||
'FriendlyName' => array(
|
||||
'Type' => 'System',
|
||||
'Value'=> 'Mollie Sofort Banking'
|
||||
)
|
||||
));
|
||||
|
||||
return $config;
|
||||
}
|
||||
|
||||
function molliesofort_link($params) {
|
||||
return mollie_link($params, Mollie_API_Object_Method::SOFORT);
|
||||
}
|
||||
<?php
|
||||
|
||||
require_once __DIR__ . '/mollie/mollie.php';
|
||||
|
||||
function molliesofort_devapp_config() {
|
||||
$config = mollie_config();
|
||||
|
||||
$config = array_merge($config, array(
|
||||
'FriendlyName' => array(
|
||||
'Type' => 'System',
|
||||
'Value'=> 'Mollie Sofort Banking'
|
||||
)
|
||||
));
|
||||
|
||||
return $config;
|
||||
}
|
||||
|
||||
function molliesofort_devapp_link($params) {
|
||||
return mollie_link($params, Mollie_API_Object_Method::SOFORT);
|
||||
}
|
||||
Reference in New Issue
Block a user