Skip to content

Commit eab5a7e

Browse files
authored
Add zaringate to readme
1 parent fd50177 commit eab5a7e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,10 @@ or nuSoap:
7676
use Zarinpal\Drivers\NuSoap;
7777
$test = new Zarinpal('XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX',new NuSoap());
7878
```
79+
80+
##Zaringate
81+
for redirect user to Zaringate instead of Zarinpal gateway, pass true as first parameter of redirect method (as default user will redirect to Zarinpal gateway with this method):
82+
83+
```php
84+
Zarinpal::redirect(true);
85+
```

0 commit comments

Comments
 (0)