@@ -64,7 +64,7 @@ |
||
64 | 64 | |
65 | 65 | // Step 4: |
66 | 66 | // Redirect to the payment page |
67 | -echo 'Redirect to: ' . $response->getRedirectUrl() ."<br>\n"; |
|
67 | +echo 'Redirect to: ' . $response->getRedirectUrl() . "<br>\n"; |
|
68 | 68 | |
69 | 69 | // Step 5: |
70 | 70 | // Fill in test payment page. For dummy credit card numbers see |
@@ -40,7 +40,7 @@ |
||
40 | 40 | * @SerializedName("ErrorDetail") |
41 | 41 | * @Type("array") |
42 | 42 | */ |
43 | - protected $errorDetail = []; |
|
43 | + protected $errorDetail = [ ]; |
|
44 | 44 | |
45 | 45 | /** |
46 | 46 | * @var string|null |
@@ -193,7 +193,7 @@ |
||
193 | 193 | return [ |
194 | 194 | 'Content-Type' => 'application/json; charset=utf-8', |
195 | 195 | 'Accept' => 'application/json', |
196 | - 'Authorization' => 'Basic ' . base64_encode($this->apiKey.':'.$this->apiSecret) |
|
196 | + 'Authorization' => 'Basic ' . base64_encode($this->apiKey . ':' . $this->apiSecret) |
|
197 | 197 | ]; |
198 | 198 | } |
199 | 199 |
@@ -12,7 +12,7 @@ |
||
12 | 12 | * @SerializedName("IdGenerator") |
13 | 13 | * @Type("string") |
14 | 14 | */ |
15 | - protected $IdGenerator="RANDOM"; |
|
15 | + protected $IdGenerator = "RANDOM"; |
|
16 | 16 | |
17 | 17 | /** |
18 | 18 | * @var string |
@@ -64,7 +64,7 @@ |
||
64 | 64 | |
65 | 65 | // Step 4: |
66 | 66 | // Redirect to the payment page |
67 | -echo 'Redirect to: ' . $response->getRedirectUrl() ."<br>\n"; |
|
67 | +echo 'Redirect to: ' . $response->getRedirectUrl() . "<br>\n"; |
|
68 | 68 | |
69 | 69 | // Step 5: |
70 | 70 | // Fill in test payment page. For dummy credit card numbers see |