Skip to content

Commit

Permalink
updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
dgvai authored Apr 21, 2020
1 parent 75ffc95 commit f5a33c8
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ Also you can call for Refund Request and check Refund State
public function refund($bankID)
{
$refund = SSLCommerz::refund($bankID,$refund_amount);
$refund = json_decode($refund);

if($refund->status)
{
Expand Down Expand Up @@ -168,7 +169,8 @@ Also you can call for Refund Request and check Refund State
public function check_refund_status($refID)
{
$refund = SSLCommerz::query_refund($refID);

$refund = json_decode($refund);

if($refund->status)
{
/**
Expand Down Expand Up @@ -207,7 +209,8 @@ Also you can query for your Transaction based on the Transaction ID you provided
public function get_transaction_status($trxID)
{
$query = SSLCommerz::query_transaction($trxID);

$query = json_decode($query);

if($query->status)
{
dd($query->output);
Expand Down Expand Up @@ -318,4 +321,4 @@ Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recen

## License

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

0 comments on commit f5a33c8

Please sign in to comment.