Completed
Branch webservice-support (1bfa77)
by John
02:37
created
src/Message/WebservicePurchaseRequest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -10,9 +10,9 @@  discard block
 block discarded – undo
10 10
 class WebservicePurchaseRequest extends PurchaseRequest
11 11
 {
12 12
     /** @var string */
13
-    protected $liveWsdl = __DIR__ . "/redsys-webservice-live.wsdl";
13
+    protected $liveWsdl = __DIR__."/redsys-webservice-live.wsdl";
14 14
     /** @var string */
15
-    protected $testWsdl = __DIR__ . "/redsys-webservice-test.wsdl";
15
+    protected $testWsdl = __DIR__."/redsys-webservice-test.wsdl";
16 16
     /** @var string */
17 17
     protected $liveEndpoint = "https://sis.redsys.es/sis/services/SerClsWSEntrada";
18 18
     /** @var string */
@@ -31,10 +31,10 @@  discard block
 block discarded – undo
31 31
             'DS_MERCHANT_AMOUNT'          => $this->getAmountInteger(),
32 32
             'DS_MERCHANT_ORDER'           => $this->getTransactionId(),
33 33
             'DS_MERCHANT_MERCHANTCODE'    => $this->getMerchantId(),
34
-            'DS_MERCHANT_CURRENCY'        => $this->getCurrencyNumeric(),  // uses ISO-4217 codes
34
+            'DS_MERCHANT_CURRENCY'        => $this->getCurrencyNumeric(), // uses ISO-4217 codes
35 35
             'DS_MERCHANT_PAN'             => $card->getNumber(),
36 36
             'DS_MERCHANT_CVV2'            => $card->getCvv(),
37
-            'DS_MERCHANT_TRANSACTIONTYPE' => 'A',                          // 'Traditional payment'
37
+            'DS_MERCHANT_TRANSACTIONTYPE' => 'A', // 'Traditional payment'
38 38
             'DS_MERCHANT_TERMINAL'        => $this->getTerminalId(),
39 39
             'DS_MERCHANT_EXPIRYDATE'      => $card->getExpiryDate('ym'),
40 40
         );
Please login to merge, or discard this patch.