Skip to content

Commit

Permalink
Merge pull request #35 from qarizma/master
Browse files Browse the repository at this point in the history
Renamed gateways and fixed conflict
  • Loading branch information
Wouter0100 authored May 26, 2018
2 parents 6a3c0eb + 330d74e commit b879299
Show file tree
Hide file tree
Showing 9 changed files with 161 additions and 161 deletions.
2 changes: 1 addition & 1 deletion src/mollie/callback.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

$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)');
Expand Down
40 changes: 20 additions & 20 deletions src/molliemistercash.php → src/molliebancontact_devapp.php
100755 → 100644
Original file line number Diff line number Diff line change
@@ -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 changes: 20 additions & 20 deletions src/molliebanktransfer.php → src/molliebanktransfer_devapp.php
100755 → 100644
Original file line number Diff line number Diff line change
@@ -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 changes: 20 additions & 20 deletions src/molliebelfius.php → src/molliebelfius_devapp.php
100755 → 100644
Original file line number Diff line number Diff line change
@@ -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 changes: 20 additions & 20 deletions src/molliebitcoin.php → src/molliebitcoin_devapp.php
100755 → 100644
Original file line number Diff line number Diff line change
@@ -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 changes: 20 additions & 20 deletions src/molliecreditcard.php → src/molliecreditcard_devapp.php
100755 → 100644
Original file line number Diff line number Diff line change
@@ -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 changes: 20 additions & 20 deletions src/molliepaypal.php → src/molliepaypal_devapp.php
100755 → 100644
Original file line number Diff line number Diff line change
@@ -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 changes: 20 additions & 20 deletions src/molliepaysafecard.php → src/molliepaysafecard_devapp.php
100755 → 100644
Original file line number Diff line number Diff line change
@@ -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 changes: 20 additions & 20 deletions src/molliesofort.php → src/molliesofort_devapp.php
100755 → 100644
Original file line number Diff line number Diff line change
@@ -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);
}

0 comments on commit b879299

Please sign in to comment.