Skip to content

Commit 0058f68

Browse files
authored
Merge pull request #16 from JorgenVatle/master
Renamed passed parameter name for Merchant ID in the `Transaction::create()` example.
2 parents f425ad4 + d6429b3 commit 0058f68

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ $privateAppKey = 'your-private-key-goes-here';
9696
'amount' => $amount, //value must be in cents
9797
'currency' => $currency //see available formats https://github.com/paylike/currencies
9898
);
99-
$transaction = \Paylike\Transaction::create( $transactionId, $data );
99+
$transaction = \Paylike\Transaction::create( $merchantId, $data );
100100
// you will now have the transaction data in the $transaction variable.
101101
```
102102

@@ -107,4 +107,4 @@ $privateAppKey = 'your-private-key-goes-here';
107107
```php
108108
$card = \Paylike\Card::fetch( $cardId );
109109
// you will now have the card data in the $card variable.
110-
```
110+
```

0 commit comments

Comments
 (0)