Skip to content

Commit a430e43

Browse files
committed
removed sensitive data
1 parent 994fa5e commit a430e43

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

examples/query.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
$amount = new \Sipay\Amount(200, 'EUR');
77

8-
$card = new \Sipay\Paymethods\Card('6712009000000205', 2018, 12);
8+
$card = new \Sipay\Paymethods\Card('42424242424242', 2018, 12);
99

1010
$options = array(
1111
'order' => 'order-test'
@@ -30,7 +30,11 @@
3030
$query = $ecommerce->query(array('order' => 'order-test'));
3131

3232
if($query->code == 0) {
33-
print(count($query->transactions)." transacciones recuperadas con éxito!\n");
33+
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+
}
3438
}else{
3539
print("Error: ".$query->description."\n");
3640
}

0 commit comments

Comments
 (0)