Skip to content

Guest customer Payments #7

@itamturk

Description

@itamturk

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(); }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions