We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 994fa5e commit a430e43Copy full SHA for a430e43
examples/query.php
@@ -5,7 +5,7 @@
5
6
$amount = new \Sipay\Amount(200, 'EUR');
7
8
-$card = new \Sipay\Paymethods\Card('6712009000000205', 2018, 12);
+$card = new \Sipay\Paymethods\Card('42424242424242', 2018, 12);
9
10
$options = array(
11
'order' => 'order-test'
@@ -30,7 +30,11 @@
30
$query = $ecommerce->query(array('order' => 'order-test'));
31
32
if($query->code == 0) {
33
- print(count($query->transactions)." transacciones recuperadas con éxito!\n");
+ print(count($query->transactions)." transacciones recuperadas con éxito!\n");
34
+ foreach ($query->transactions as $transaction ){
35
+ print($transaction->transaction_id."\n");
36
+ print($transaction->masked_card."\n");
37
+ }
38
}else{
39
print("Error: ".$query->description."\n");
40
}
0 commit comments