Announcement

Collapse
No announcement yet.

Checkout customers with middle initial

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Checkout customers with middle initial

    When GCO customers with a middle initial on their account place an order, the middle initial is incorrectly placed in the last name field.

    John H Smith

    Currently:
    First Name
    John

    Last Name
    H Smith

    Should be
    First Name
    John H

    Last Name
    Smith

    #2
    Re: Checkout customers with middle initial

    Yes, I can see that. The module assumes that there is only a first and last. But if I make the change then it would break for people with two-word last names, like Lili von Shtupp. It should be "Lili" and "von Shtupp", but if we change the module to only use the last "word" as the last name, then she would lose her "von".

    So it's not going to be perfect either way. And I know from experience that some systems butcher my last name and give me a middle name of "Mc" and it's really annoying.

    Comment


      #3
      Re: Checkout customers with middle initial

      Code:
      <?xml version="1.0" encoding="UTF-8"?>
      <new-order-notification xmlns="http://checkout.google.com/schema/"
          serial-number="85f54628-538a-44fc-8605-ae62364f6c71">
          ...
          <buyer-billing-address>
              <contact-name>Bill Hu</contact-name>
              ...
              <structured-name>
                 <first-name>Bill</first-name>
                 <last-name>Hu</last-name>
             </structured-name>
          </buyer-billing-address>
          <buyer-shipping-address>
              <contact-name>Will Shipp-Toomey</contact-name>
              ...
              <structured-name>
                 <first-name>Will</first-name>
                 <last-name>Shipp-Toomey</last-name>
             </structured-name>
          </buyer-shipping-address>
          ...
      </new-order-notification>
      Is google returning the middle initial in the <last-name> tag?

      It looks like in the docs they addressed this?
      Google appends additional words and characters between a first and last name to the first name with the exception of common last name prefixes like "del" and "von". For example, if the contact name is John K. Smith, the <first-name> value will be John K. and the <last-name> value will be Smith. However, if the contact name is Benicio del Toro, the <first-name> value will be Benicio and the <last-name> value will be del Toro.
      Last edited by Greg B; 12-13-07, 12:04 PM.

      Comment


        #4
        Re: Checkout customers with middle initial

        In the google checkout integration center under the advanced options there is now a check box for returning the first and last names individually. Will this be implemented in a future release of the miva module?

        Settings --> Integration --> Advanced
        Provide the first name, last name and full name of the buyer and order recipient in separate fields in the new order notification.

        Comment


          #5
          Re: Checkout customers with middle initial

          Has anyone heard if the upcoming update to the google checkout module will incorporate this?

          Comment


            #6
            Re: Checkout customers with middle initial

            Yes it handles this.
            Thanks,

            Rick Wilson
            CEO
            Miva, Inc.
            [email protected]
            https://www.miva.com

            Comment

            Working...
            X