@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -include __DIR__.'/config.php'; |
|
3 | +include __DIR__ . '/config.php'; |
|
4 | 4 | |
5 | 5 | /** @var \Payum\Core\Payum $payum */ |
6 | 6 | $storage = $payum->getStorage(\FDM\Payum\Netaxept\Model\Payment::class); |
@@ -74,4 +74,4 @@ discard block |
||
74 | 74 | die("Could not obtain Netaxept terminal URI!"); |
75 | 75 | } |
76 | 76 | |
77 | -header("Location: ".$uri); |
|
78 | 77 | \ No newline at end of file |
78 | +header("Location: " . $uri); |
|
79 | 79 | \ No newline at end of file |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -include __DIR__.'/config.php'; |
|
3 | +include __DIR__ . '/config.php'; |
|
4 | 4 | |
5 | 5 | // Grab the token, the storage, and the payment record from storage using the ID stored in the token. |
6 | 6 | /** @var \Payum\Core\Payum $payum */ |
@@ -101,7 +101,7 @@ |
||
101 | 101 | ]; |
102 | 102 | $config->defaults($config['payum.default_options']); |
103 | 103 | $config['payum.required_options'] = []; |
104 | - $config['payum.api'] = function (ArrayObject $config) { |
|
104 | + $config['payum.api'] = function(ArrayObject $config) { |
|
105 | 105 | $config->validateNotEmpty($config['payum.required_options']); |
106 | 106 | |
107 | 107 | return new Api($config['merchantId'], $config['token'], null, null, null, $config['sandbox']); |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -include __DIR__.'/config.php'; |
|
3 | +include __DIR__ . '/config.php'; |
|
4 | 4 | |
5 | 5 | // Grab the token, the storage, and the payment record from storage using the ID stored in the token. |
6 | 6 | /** @var \Payum\Core\Payum $payum */ |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -include __DIR__.'/config.php'; |
|
3 | +include __DIR__ . '/config.php'; |
|
4 | 4 | |
5 | 5 | // Grab the token, the storage, and the payment record from storage using the ID stored in the token. |
6 | 6 | /** @var \Payum\Core\Payum $payum */ |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -include __DIR__.'/config.php'; |
|
3 | +include __DIR__ . '/config.php'; |
|
4 | 4 | |
5 | 5 | // Grab the token, the storage, and the payment record from storage using the ID stored in the token. |
6 | 6 | /** @var \Payum\Core\Payum $payum */ |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -include __DIR__.'/config.php'; |
|
3 | +include __DIR__ . '/config.php'; |
|
4 | 4 | |
5 | 5 | // Grab the token, the storage, and the payment record from storage using the ID stored in the token. |
6 | 6 | /** @var \Payum\Core\Payum $payum */ |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -include __DIR__.'/config.php'; |
|
3 | +include __DIR__ . '/config.php'; |
|
4 | 4 | |
5 | 5 | // Grab the token, the storage, and the payment record from storage using the ID stored in the token. |
6 | 6 | /** @var \Payum\Core\Payum $payum */ |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -include __DIR__.'/config.php'; |
|
3 | +include __DIR__ . '/config.php'; |
|
4 | 4 | |
5 | 5 | // Grab the token, the storage, and the payment record from storage using the ID stored in the token. |
6 | 6 | /** @var \Payum\Core\Payum $payum */ |