File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ Set the configuration
3131``` php
3232require __DIR__ . '/vendor/autoload.php';
3333
34+ // Replace apitoken and serviceId with your own.
3435\Paynl\Config::setApiToken('e41f83b246b706291ea9ad798ccfd9f0fee5e0ab');
3536\Paynl\Config::setServiceId('SL-3490-4320');
3637```
@@ -126,8 +127,7 @@ require __DIR__ . '/vendor/autoload.php';
126127$transaction = \Paynl\Transaction::getForReturn();
127128
128129//manual transfer transactions are always pending when the user is returned
129- if( $transaction->isPaid() || $transaction->isPending()
130- ){
130+ if( $transaction->isPaid() || $transaction->isPending()){
131131 // redirect to thank you page
132132
133133} elseif($transaction->isCanceled()) {
@@ -153,7 +153,7 @@ if($transaction->isPaid()){
153153// always start your response with TRUE|
154154echo "TRUE| ";
155155
156- // Optionally you can send a message after TRUE|, you can view this messages in the logs.
156+ // Optionally you can send a message after TRUE|, you can view these messages in the logs.
157157// https://admin.pay.nl/logs/payment_state
158158echo $transaction->isPaid()?'Paid':'Not paid';
159159
You can’t perform that action at this time.
0 commit comments