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

Guest customer Payments #7

Open
itamturk opened this issue Jan 4, 2022 · 0 comments
Open

Guest customer Payments #7

itamturk opened this issue Jan 4, 2022 · 0 comments

Comments

@itamturk
Copy link

itamturk commented Jan 4, 2022

Kayıt olmadan müşteriler ödeme yapmak isteyebilir.
Mevcut kodlarda Guset Customer ad, soyad ve eposta adresleri boş geliyor ve ödeme yapılamıyor.
Misafir müşteri ad, soyad ve eposta bilgileri Fatura bilgilerinden çekilebilir.

var customerName = _genericAttributeService.GetAttribute<string>(customer, NopCustomerDefaults.FirstNameAttribute);
            + if (customerName == null)
              +  { customerName = billingAddress.FirstName.ToString(); }
            var customerSurName = _genericAttributeService.GetAttribute<string>(customer, NopCustomerDefaults.LastNameAttribute);
           + if (customerSurName == null)
             +   { customerSurName = billingAddress.LastName.ToString(); }
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

1 participant