From 86e0509ddc0435d8213fdd3fdeb96a90d19fa60b Mon Sep 17 00:00:00 2001 From: Iman Nemati Date: Sun, 16 Oct 2022 00:43:53 +0330 Subject: [PATCH] Update README.md --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7a94656..2713d1c 100644 --- a/README.md +++ b/README.md @@ -16,15 +16,17 @@ 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", @@ -32,4 +34,4 @@ Now you can use `ZarinpalGateway` class to Create or Verify payment requests wit Password = "password", TestTerminal = false, UserName = "username" -});`` +});```