Skip to content

Commit

Permalink
Merge branch 'master' of github.com:paynl/sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
andy committed Mar 7, 2019
2 parents b3c4824 + 38e9921 commit 05014e2
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions samples/transaction/qrPayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,16 @@
'amount' => 0.01,
'description' => 'QR payment test',

'currency' => 'EUR'
//optional
'currency' => 'EUR',
'statsData' => array(
'promotorId' => '1234ab',
'tool' => 'tool',
'info' => 'info',
'extra1' => 'extra1',
'extra2' => 'extra2',
'extra3' => 'extra3',
)
));
} catch (\Paynl\Error\Error $e) {
die ('Error: '.$e->getMessage());
Expand All @@ -22,4 +31,4 @@
echo "TransactionId: " . $result->getTransactionId() . "\n";
echo "OrderId: " . $result->getOrderId() . "\n";
echo "StateName: " . $result->getStateName() . "\n";
echo "StateId: " . $result->getStateId() . "\n";
echo "StateId: " . $result->getStateId() . "\n";

0 comments on commit 05014e2

Please sign in to comment.