ShepaMerchantVisaMaster 1.0.0
dotnet add package ShepaMerchantVisaMaster --version 1.0.0
NuGet\Install-Package ShepaMerchantVisaMaster -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ShepaMerchantVisaMaster" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ShepaMerchantVisaMaster --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ShepaMerchantVisaMaster, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install ShepaMerchantVisaMaster as a Cake Addin #addin nuget:?package=ShepaMerchantVisaMaster&version=1.0.0 // Install ShepaMerchantVisaMaster as a Cake Tool #tool nuget:?package=ShepaMerchantVisaMaster&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Shepa Merchant Gateway for Visa And Master Cards
You can connect Your application or website using this package. You should use three steps to connect your website to visa and master gateways.
1.Get access token
Simple Code
ShepaMerchantVisaMaster.Merchant merchant = new ShepaMerchantVisaMaster.Merchant();
ar data = merchant.requestToken("XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", 10, "http://example.com/verify", "", "", "","0" , "" , "");
Responce of your request
Parameter | Type | Description |
---|---|---|
success |
bool |
Request status |
result |
object |
If success is true your request result is in it |
errors |
string |
If success is false, errors shows in hear |
Content of result Object
Parameter | Type | Description |
---|---|---|
token |
object |
Access token |
url |
string |
Url Of Payment |
2.Redirect User
after geting access token and url, redirect usert to url witch sended in result object. the payment will start and after confirm or unconfirm payment, user will redirected from payment gateway to address witch you sended from access request in callback value.
3.Verify Payment
ShepaMerchantVisaMaster.Merchant merchant = new ShepaMerchantVisaMaster.Merchant();
var responce = merchant.verifyPayment("XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "token", 1);
Responce of your request
Parameter | Type | Description |
---|---|---|
success |
bool |
Request status |
result |
object |
If success is true your request result is in it |
errors |
string |
If success is false, errors shows in hear |
Content of result Object
Parameter | Type | Description |
---|---|---|
date |
object |
Payment date |
refid |
string |
Payment refrence Id |
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net40 is compatible. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
- Newtonsoft.Json (>= 10.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 311 | 9/14/2022 |
Summary of changes made in this release of the package.