Skip to content

Commit

Permalink
1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
willvin313 authored May 21, 2020
1 parent 2da3450 commit f2fe951
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ $gateway->setPostData([
'p24_amount' => 'Amount',
'p24_description' => 'Description',
'p24_email' => 'Email',
'p24_session_id' => $gateway->getSessionId($orderId), //pass your transaction id here or use this $gateway->getSessionId($orderId) function to generate the id
'p24_session_id' => $gateway->getSessionId('Transaction ID'), //pass your transaction id here or use this $gateway->getSessionId($orderId) function to generate the id
'p24_currency' => 'Currency',
'p24_country' => 'Country',
'p24_url_return' => 'Url to redirect user, after payment',
Expand Down Expand Up @@ -207,6 +207,11 @@ $res = $gateway->trnRequest('Pass transaction token here'); // trigger the payme
$res = $gateway->trnVerify(); // Use to verify the payment sent to your callback url
```

## Generate Session ID
```php
$gateway->getSessionId('Transaction ID');
```

# Support

If you believe you have found a bug, please report it using the [GitHub issue tracker](https://github.com/willvin313/przelewy24/issues),
Expand Down

0 comments on commit f2fe951

Please sign in to comment.