Git Product home page Git Product logo

parbad.samples's People

Contributors

sina-soltani avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

parbad.samples's Issues

استفاده از دیتابیس پیش فرض

دیتابیس مدل 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
        {
            // درخواست پرداخت موفقیت آمیز نبود
        }
    }

Callback URL

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

DotNet6 + Sql Storage

سلام و درود
در دات نت کور 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");
                });`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.