Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
imaun authored Oct 15, 2022
1 parent c3fc236 commit 86e0509
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,22 @@ This library is currently under development and only support **Zarinpal** gatewa

#### How to use Zarinpal

- In your `Startup.cs` file, under `ConfigureServices` method add `services.AddZarinpalServices(merchantId: "your_merchant_id");` line. (Get MerchantID from Zarinpal.com)
- In your `Startup.cs` file, under `ConfigureServices` method add :
```services.AddZarinpalServices(merchantId: "your_merchant_id");```
(Get MerchantID from Zarinpal.com)

Now you can use `ZarinpalGateway` class to Create or Verify payment requests with Zarinpal service.
Now you can use `ZarinpalGateway` class to Create and Verify payment requests with Zarinpal service.

#### How to use Mellat IPG

- In your `Startup.cs` file, under `ConfigureServices` method add :

``cs
```cs
services.AddMellatPaymentGateway(new MellatGatewayOptions
{
Name = "Mellat",
TerminalId = "TerminalId",
Password = "password",
TestTerminal = false,
UserName = "username"
});``
});```

0 comments on commit 86e0509

Please sign in to comment.