@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | ); |
| 26 | 26 | |
| 27 | 27 | $amount = new Container\Amount( |
| 28 | - 5000, // amount in cents |
|
| 28 | + 5000, // amount in cents |
|
| 29 | 29 | 'CHF' |
| 30 | 30 | ); |
| 31 | 31 | |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | $response->getTransaction()->getStatus(), |
| 62 | 62 | $response->getPaymentMeans()->getBrand()->getName(), |
| 63 | 63 | $response->getPaymentMeans()->getDisplayText() |
| 64 | -). "\n"; |
|
| 64 | +) . "\n"; |
|
| 65 | 65 | |
| 66 | 66 | // Recurring payment transactions still need to be captured. |
| 67 | 67 | // see: example-capture.php |
@@ -46,6 +46,6 @@ |
||
| 46 | 46 | die ($e->getErrorResponse()->getErrorMessage()); |
| 47 | 47 | } |
| 48 | 48 | |
| 49 | -echo 'The transaction has successfully been captured! Capture-Id: ' . $response->getCaptureId()."\n"; |
|
| 49 | +echo 'The transaction has successfully been captured! Capture-Id: ' . $response->getCaptureId() . "\n"; |
|
| 50 | 50 | |
| 51 | 51 | // You have now fully completed a successful payment :) |
| 52 | 52 | \ No newline at end of file |