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

Anonymous checkout allowed aktif Guest Customers kart ödemede hata mesajı #3

Open
itamturk opened this issue Dec 28, 2021 · 4 comments

Comments

@itamturk
Copy link

https://xxxxxx.com/Admin/Setting/Order
Nopcommerce Anonymous checkout allowed /enable

Guest Customers kart ödemede hata mesajı
One or more errors occurred. (The model item passed into the ViewDataDictionary is of type 'Nop.Plugin.Payments.Iyzico.Models.CheckoutPaymentInfoModel', but this ViewDataDictionary instance requires a model item of type 'Nop.Web.Models.Checkout.CheckoutPaymentInfoModel'.)

@mk148a
Copy link

mk148a commented Mar 28, 2022

Aynı hata bendede var, ayrıca view bozuk

resim

@mk148a
Copy link

mk148a commented Mar 28, 2022

https://xxxxxx.com/Admin/Setting/Order Nopcommerce Anonymous checkout allowed /enable

Guest Customers kart ödemede hata mesajı One or more errors occurred. (The model item passed into the ViewDataDictionary is of type 'Nop.Plugin.Payments.Iyzico.Models.CheckoutPaymentInfoModel', but this ViewDataDictionary instance requires a model item of type 'Nop.Web.Models.Checkout.CheckoutPaymentInfoModel'.)

siz çözebildiniz mi?

@itamturk
Copy link
Author

https://xxxxxx.com/Admin/Setting/Order Nopcommerce Anonymous checkout allowed /enable
Guest Customers kart ödemede hata mesajı One or more errors occurred. (The model item passed into the ViewDataDictionary is of type 'Nop.Plugin.Payments.Iyzico.Models.CheckoutPaymentInfoModel', but this ViewDataDictionary instance requires a model item of type 'Nop.Web.Models.Checkout.CheckoutPaymentInfoModel'.)

siz çözebildiniz mi?

var customerName = _genericAttributeService.GetAttribute(customer, NopCustomerDefaults.FirstNameAttribute);
+ if (customerName == null)
+ { customerName = billingAddress.FirstName.ToString(); }
var customerSurName = _genericAttributeService.GetAttribute(customer, NopCustomerDefaults.LastNameAttribute);
+ if (customerSurName == null)
+ { customerSurName = billingAddress.LastName.ToString(); }

  • olanları coda eklerseniz adreste yazılı isimleri çekiyor.

@itamturk
Copy link
Author

Aynı hata bendede var, ayrıca view bozuk

resim

view Ayarlar dil seçenkelerinden iyzico taksit seçeneği başlıklarını ekleyin.

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