We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
قبلا با استفاده از کد زیر به درگاه پرداخت ایران کیش متصل میشدم، ولی جدیدا خطای زیر و میده سلام
services.AddParbad() .ConfigureGateways(gateways => { gateways .AddIranKish() .WithAccounts(accounts => { accounts.AddInMemory(account => { account.Name = "*****"; account.TerminalId = "*****"; account.PublicKey = "*****"; }); }); }) .ConfigureHttpContext(builder => builder.UseDefaultAspNetCore()) .ConfigureStorage(builder => { builder.UseEfCore(options => { // Using SQL Server var assemblyName = typeof(Startup).Assembly.GetName().Name; options.ConfigureDbContext = db => db.UseSqlServer(Configuration.GetConnectionString("*****"), sql => sql.MigrationsAssembly(assemblyName)); options.PaymentTableOptions.Name = "*****"; options.DefaultSchema = "*****"; options.TransactionTableOptions.Name = "*****"; options.TransactionTableOptions.Schema = "*****"; }); }); کد اتصال به درگاه var result = await _OnlinePayment.RequestAsync(invoice => { var VerifyUrl = Url.Action("Verify", "Default", null, Request.Scheme); decimal Price = 1750000; invoice .SetAmount(Price) .SetCallbackUrl(VerifyUrl) .SetGateway("IranKish"); invoice.UseAutoRandomTrackingNumber(); }); Package name and version
services.AddParbad() .ConfigureGateways(gateways => { gateways .AddIranKish() .WithAccounts(accounts => { accounts.AddInMemory(account => { account.Name = "*****"; account.TerminalId = "*****"; account.PublicKey = "*****"; }); }); }) .ConfigureHttpContext(builder => builder.UseDefaultAspNetCore()) .ConfigureStorage(builder => { builder.UseEfCore(options => { // Using SQL Server var assemblyName = typeof(Startup).Assembly.GetName().Name; options.ConfigureDbContext = db => db.UseSqlServer(Configuration.GetConnectionString("*****"), sql => sql.MigrationsAssembly(assemblyName)); options.PaymentTableOptions.Name = "*****"; options.DefaultSchema = "*****"; options.TransactionTableOptions.Name = "*****"; options.TransactionTableOptions.Schema = "*****"; }); });
var result = await _OnlinePayment.RequestAsync(invoice => { var VerifyUrl = Url.Action("Verify", "Default", null, Request.Scheme); decimal Price = 1750000; invoice .SetAmount(Price) .SetCallbackUrl(VerifyUrl) .SetGateway("IranKish"); invoice.UseAutoRandomTrackingNumber(); });
Web application type: ASP.NET CORE 6.0.0
The text was updated successfully, but these errors were encountered:
Sina-Soltani
No branches or pull requests
قبلا با استفاده از کد زیر به درگاه پرداخت ایران کیش متصل میشدم، ولی جدیدا خطای زیر و میده سلام
services.AddParbad() .ConfigureGateways(gateways => { gateways .AddIranKish() .WithAccounts(accounts => { accounts.AddInMemory(account => { account.Name = "*****"; account.TerminalId = "*****"; account.PublicKey = "*****"; }); }); }) .ConfigureHttpContext(builder => builder.UseDefaultAspNetCore()) .ConfigureStorage(builder => { builder.UseEfCore(options => { // Using SQL Server var assemblyName = typeof(Startup).Assembly.GetName().Name; options.ConfigureDbContext = db => db.UseSqlServer(Configuration.GetConnectionString("*****"), sql => sql.MigrationsAssembly(assemblyName)); options.PaymentTableOptions.Name = "*****"; options.DefaultSchema = "*****"; options.TransactionTableOptions.Name = "*****"; options.TransactionTableOptions.Schema = "*****"; }); });
کد اتصال به درگاه
var result = await _OnlinePayment.RequestAsync(invoice => { var VerifyUrl = Url.Action("Verify", "Default", null, Request.Scheme); decimal Price = 1750000; invoice .SetAmount(Price) .SetCallbackUrl(VerifyUrl) .SetGateway("IranKish"); invoice.UseAutoRandomTrackingNumber(); });
Package name and version
Web application type:
ASP.NET CORE 6.0.0
The text was updated successfully, but these errors were encountered: