sina-soltani / parbad.samples Goto Github PK
View Code? Open in Web Editor NEWParbad Sample projects.
Parbad Sample projects.
دیتابیس مدل entityframwork
استفاده کردم
آیا اطلاعات خودکار در دیتابیس ذخیره می شود یا کدی اضافه تر می خواهد؟
اگر خودکار ذخیره می شود چه طور به آنها درسترسی داشته بشم؟
برای ارور زیر چه کار کنم
Format of the initialization string does not conform to specification starting at index 0.
سلام وقت بخیر
من از نمونه asp.net webfroms استفاده کردم که در تصویر زیر هم نمونه کد را زدم اما get weay بصورت درست دریافت نمیشود میشه لطفا راهنمایی کنید مشکل چیست ؟
protected void BtnPay_Click(object sender, EventArgs e)
{
// استفاده به صورت استاتیک و بدون تزریق وابستگی
var result = StaticOnlinePayment.Instance.Request(Gateways.["555syennstgnwk"], 123, 25000, "http://www.mywebsite.com/foo/bar/");
if (result.IsSucceed)
{
// کاربر را به سمت درگاه بانکی هدایت میکند
// همچنین بهتر است کد رهگیری که در شئ نتیجه است را، برای فاکتور مورد نظر در پایگاه داده خودتان ذخیره کنید
result.GatewayTransporter.Transport();
}
else
{
// درخواست پرداخت موفقیت آمیز نبود
}
}
Thanks for your Amazing package :)
I Wonder how to use "CallbackURL" when user returns from bank gateway. we set it in "Pay" action, but never use it again.
I think you thought about this problem, but i couldn't find any code for this :(
چه طور یک ستون اضافی در جدول
payments
ایجاد کنم
مثل orderid
سلام و درود
در دات نت کور 6 فایل استارتاپ نداریم
ممکنه راهنمایی کنید چجوری ذخیره سازی در دیتابیس رو پیاده کنیم؟
`const string connectionString = "Connection String";
var migrationsAssemblyName = typeof(Startup).Assembly.GetName().Name; // An Assembly where your migrations files are in it. In this sample the files are in the same project.
options.ConfigureDbContext = db => db.UseSqlServer(connectionString, sql =>
{
sql.MigrationsAssembly(migrationsAssemblyName);
sql.MigrationsHistoryTable("TABLE NAME");
});`
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.