Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
arif98741 authored Dec 15, 2024
1 parent d4a5f0b commit bc6e0e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ $config = [
'NAGAD_APP_TIMEZONE' => 'Asia/Dhaka',
];

$nagadObject = new Base($config, [
$nagad = new Base($config, [
'amount' => 10,
'invoice' => Helper::generateFakeInvoice(15, true),
'merchantCallback' => 'https://example.com/payment/success/id=4',
Expand All @@ -53,7 +53,7 @@ $nagadObject = new Base($config, [

## Method-1 **:** Use for website
```
$status = $nagad->payNow($nagadObject); //will redirect to payment page
$status = $nagad->payNow($nagad); //will redirect to payment page
```

## Method-2 **:** Return Redirection url . You can use this according to need
Expand Down

0 comments on commit bc6e0e9

Please sign in to comment.