Skip to content
New issue

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

خطای 400 در بازگشت از درگاه بانک سامان به اپلیکیشن #380

Open
msavarian opened this issue Dec 14, 2023 · 0 comments
Assignees

Comments

@msavarian
Copy link

msavarian commented Dec 14, 2023

Bug description (wIthout specifiing the sensitive data)
توضیح خطا (بدون ذکر کردن اطلاعات خصوصی درگاه بانکی)

از پرباد برای اتصال به درگاه پاسارگاد استفاده میکنم و مشکلی وجود ندارد، ولی در درگاه بانک سامان، پس از پرداخت موفق و در بازگشت به اپلیکیشن خودم، خطای 400 زیر رخ می دهد

image

نکته ی مهمی که وجود دارد، آخرین تغییرات سورس کد مربوط به درگاه سامان که روی گیت هاب هست با آنچه در پکیج نوگت وجود دارد متفاوت است و بیلد درستی در نوگت قرار نگرفته است.

برای مثال در نوگت کلاس SamanGatewayAccount به شکل زیر وجود دارد

using Parbad.Abstraction;

namespace Parbad.Gateway.Saman
{
    public class SamanGatewayAccount : GatewayAccount
    {
        public string MerchantId { get; set; }

        public string Password { get; set; }
    }
}

اما در آخرین نسخه سورس کد همین کلاس به شکل زیر تعریف شده است

using Parbad.Abstraction;

namespace Parbad.Gateway.Saman
{
    public class SamanGatewayAccount : GatewayAccount
    {
        public string TerminalId { get; set; }

        public string Password { get; set; }
    }
}

Package name and version
نام و نسخه پکیج

  • Package Name: Parbad

  • Version: 3.9.0

  • Package Name: Parbad.AspNetCore

  • Version: 1.3.0

  • Package Name: Parbad.Storage.EntityFrameworkCore

  • Version: 1.4.0

Web application type:
نوع برنامه وب

  • ASP.NET CORE 6.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants