2 Commits

Author SHA1 Message Date
Wouter van Os
98bfbbad5e Fix for the rename between bancontact and mistercash. 2018-08-24 15:35:42 +02:00
Wouter van Os
4858b1f496 Update translations (#40) 2018-05-30 11:54:12 +02:00

View File

@@ -29,7 +29,13 @@ if(isset($_POST['id'])) {
$transaction = mysql_fetch_assoc($transactionQuery);
$_GATEWAY = getGatewayVariables('mollie' . $transaction['method'] . '_devapp');
$method = $transaction['method'];
if ($method === Mollie_API_Object_Method::MISTERCASH) {
$method = 'bancontact';
}
$_GATEWAY = getGatewayVariables('mollie' . $method . '_devapp');
if ($transaction['status'] != 'open') {
logTransaction($_GATEWAY['paymentmethod'], array_merge($transaction, $_POST), 'Callback - Failure 3 (Transaction not open)');