Skip to content

Commit 203e6ea

Browse files
author
Mostafa Kamal
authored
live server tips
1 parent 659ddc8 commit 203e6ea

File tree

1 file changed

+19
-14
lines changed

1 file changed

+19
-14
lines changed

README.md

+19-14
Original file line numberDiff line numberDiff line change
@@ -84,20 +84,6 @@ if ($verify->status === 'Aborted') {
8484
dd($verify);
8585

8686
```
87-
# get support id (live project)
88-
89-
~ create a route and paste the code for temporary use.which return support ticket id.
90-
91-
```php
92-
Route::get('sid',function(){
93-
$sid = NagadPayment::tnxID(1)
94-
->amount(100)
95-
->getSupportID();
96-
return $sid;
97-
})
98-
```
99-
100-
10187

10288
# Note:
10389

@@ -112,6 +98,25 @@ Route::get('sid',function(){
11298
* Contact with Nagad and provide your live server ip address.
11399
* provide support id ($sid) the nagad office
114100

101+
# Live mode tips
102+
103+
`Sandbox works fine but when you deploy your project on server you can't get any response and don't work payment system`
104+
105+
## How to enable nagad gateway on server
106+
107+
* contact with nagad provide your ip and support token which you get from temporary route get-support-id . nagad will be white listed your ip and approve your merchant. now your nagad gateway work properly on server.
108+
109+
~ temporary route
110+
111+
```php
112+
Route::get('get-support-id',function(){
113+
$sid = NagadPayment::tnxID(1)
114+
->amount(100)
115+
->getSupportID();
116+
return $sid;
117+
})
118+
```
119+
115120
# Demo
116121

117122
* [Lara Nagad Demo](https://github.com/code4mk/lara-nagad-demo)

0 commit comments

Comments
 (0)