Results 1 to 10 of 10
  1. #1
    Join Date
    May 2010
    Posts
    9
    Plugin Contributions
    0

    Default Paypal Express Checkout missing state information

    I'm using Zen-Cart 1.38a and the Paypal Express Checkout module.
    My default language is Spanish. No special addons.

    When I click on the regular checkout button (not the Paypal Express Checkout) and I choose Paypal as payment type. I'm redirected to the Paypal page, when I select continue checkout (without existing Paypal account). The billing information is auto filled with my zen-cart account information but the State is not recognized.

    If for exemple my state is "Sinaloa" there is only "SIN" showing in Paypal and I must click "change" to show the drop-down menu and select the correct State. Some of my customers didn't saw this change link and they just cancelled their order.

    Is it a way to fix this state auto-fill error (or to disable the auto-fill billing information)?

    Thanks for your help.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Paypal Express Checkout missing state information

    v1.3.9 has numerous improvements to the various PayPal modules, including some address-handling improvements.
    I recommend upgrading. If the problem persists after upgrading, it may be necessary to do more investigation, and maybe log a ticket with PayPal.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    May 2010
    Posts
    9
    Plugin Contributions
    0

    Default Re: Paypal Express Checkout missing state information

    DrByte,
    thanks for your help, but I can't do an update right now, a lot of customers are going to make orders in the next days.
    Question: is it a way to desactivate the billing info auto-fill for regular checkout (like the express checkout)?
    Or to correct the state name in zencart to match the state name in Paypal?

    I plan to upgrade to 1.39 but I must wait if I don't want to loose a lot of orders.
    Posted via Mobile Device

  4. #4
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Paypal Express Checkout missing state information

    Zen Cart passes the address information exactly as you've entered it in Zen Cart.
    If you are saying that PayPal is using different state names, then I recommend using those same names in your Zen Cart shop.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    May 2010
    Posts
    9
    Plugin Contributions
    0

    Default Re: Paypal Express Checkout missing state information

    DrByte,

    When I set the "display as Pulldown" option for State to true in user Customer details Zen-cart send only the State code not the full state name. I try to use the official two letters state code (as explained in Paypal support) but still not working anyway. I also try to replace the state code with the full state name with no luck.

    If I set the "display as Pulldown" option for State to false, all the text is send to Paypal, but not recognised.

    Find bellow some screen shots of my problem.




    I really need to fix this problem!!! I'm loosing money every day just because some people didn't saw the "change" link under billing information.

    If the problem comes from Paypal, can U just tell me the way to disable the auto-fill for billing information?

  6. #6
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Paypal Express Checkout missing state information

    Since the problem is happening on PayPal's website, you need to log the issue with them: www.paypal.com/mts
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    May 2010
    Posts
    9
    Plugin Contributions
    0

    Default Re: Paypal Express Checkout missing state information

    DrByte,

    I have reported my problem to the Paypal support, this their answer:

    These are the valid states that PayPal accepts for Mexico:

    <option value="Aguascalientes">Aguascalientes</option>
    <option value="Baja California">Baja California</option>
    <option value="Baja California Sur">Baja California Sur</option>
    <option value="Campeche">Campeche</option>
    <option value="Chiapas">Chiapas</option>
    <option value="Chihuahua">Chihuahua</option>
    <option value="Coahuila">Coahuila</option>
    <option value="Colima">Colima</option>
    <option value="Distrito Federal">Distrito Federal</option>
    <option value="Durango">Durango</option>
    <option value="Estado de Mexico">Estado de Mexico</option>
    <option value="Guanajuato">Guanajuato</option>
    <option value="Guerrero">Guerrero</option>
    <option value="Hidalgo">Hidalgo</option>
    <option value="Jalisco">Jalisco</option>
    <option value="Michoacánl">Michoacán</option>
    <option value="Morelos">Morelos</option>
    <option value="Nayarit">Nayarit</option>
    <option value="Nuevo León">Nuevo León</option>
    <option value="Oaxaca">Oaxaca</option>
    <option value="Puebla">Puebla</option>
    <option value="Querétaro">Querétaro</option>
    <option value="Quintana Roo">Quintana Roo</option>
    <option value="San Luis Potosí">San Luis Potosí</option>
    <option value="Sinaloa">Sinaloa</option>
    <option value="Sonora">Sonora</option>
    <option value="Tabasco">Tabasco</option>
    <option value="Tamaulipas">Tamaulipas</option>
    <option value="Tlaxcala">Tlaxcala</option>
    <option value="Veracruz">Veracruz</option>
    <option value="Yucatán">Yucatán</option>
    <option value="Zacatecas">Zacatecas</option>

    If the pictures you are showing are from a PayPal site, I would suggest trying it as it displayed above (Sinaloa) and if it is not a PayPal site, you will want to verify that your shopping cart or whomever is assembling your payment request is formatting that field correctly.

    Please let me know if I can be of further assistance with your request.
    Sincerely,
    Josh W
    Merchant Technical Services
    PayPal, an eBay Company

    Change the future of payments with us. http://x.com
    I try to edit my state name with their instructions, but my probleme is still the same.

    Please tell me how to disable the auto-fill for billing information, I want the same result as the Paypal Express Checkout, no billing informations auto filled by zen-cart!

    See screens bellow:





  8. #8
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Paypal Express Checkout missing state information

    Tell the PayPal guy that Zen Cart *is* sending the information correctly.
    PayPal is clearly mistreating the information when they receive it.

    Data sent by Zen Cart:
    Code:
        [ADDROVERRIDE] => 1
        [SHIPTONAME] => Jerome Vautherin
        [SHIPTOSTREET] => Avenue du lac
        [SHIPTOCITY] => Mazatlan
        [SHIPTOZIP] => 22110
        [SHIPTOSTATE] => Sinaloa
        [SHIPTOCOUNTRYCODE] => MX
    If you note that in Zen Cart the state is stored as "Sinaloa" and then transmitted as "Sinaloa", but then PayPal is changing it to "SINALOA" and treating it as invalid when later doing validation.

    Thus the problem is on PayPal's end: they are mis-handling the information and causing problems for customers during checkout.
    Remind them that their bug is costing you money and also causing PayPal to lose business too.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    May 2010
    Posts
    9
    Plugin Contributions
    0

    Default Re: Paypal Express Checkout missing state information

    Some news from Paypal about my issue:

    Hello Jerome Vautherin,

    I believe that PayPal is changing the state "Sinaloa" into capital letter and that affect your IPN script. We are working on avoiding these changes.

    Do you have the issue only with this specific state?

    Do you validate the payment via IPN or via the API response?

    We have tested an API call with similar data and it goes correct :

    NVP Request:
    USER=pro22_1222868134_biz_api1.paypal.com&PWD=XPBWBJ9AFZ9X748L&SIGNATURE=...&&VE RSION=51.0&METHOD=SetExpressCheckout&RETURNURL=http://localhost/qtajax/index.php?action=ECreturn&CANCELURL=http://localhost/qtajax/index.php?action=ECcancel&AMT=0.01&PAYMENTACTION=Sale&ADDROVERRIDE=1&SHIPTONAME= Jerome Vautherin&SHIPTOSTREET=Don Alfonso 615&SHIPTOCITY=Mazatlan&SHIPTOZIP=82110&SHIPTOSTATE=Sinaloa&SHIPTOCOUNTRYCODE=MX

    NVP Response:
    TOKEN=EC-32923324MN9029813
    TIMESTAMP=2010-06-21T13:39:51Z
    CORRELATIONID=efc10f1a4f54a
    ACK=Success
    VERSION=51.0
    BUILD=1364064


    NVP Request:
    USER=pro22_1222868134_biz_api1.paypal.com&PWD=XPBWBJ9AFZ9X748L&SIGNATURE=...&&VE RSION=51.0&METHOD=GetExpressCheckoutDetails&TOKEN=EC-32923324MN9029813

    NVP Response:
    TOKEN=EC-32923324MN9029813
    TIMESTAMP=2010-06-21T13:52:30Z
    CORRELATIONID=dd96ea005d540
    ACK=Success
    VERSION=51.0
    BUILD=1364064
    [email protected]
    PAYERID=GVERAPFQCZU5C
    PAYERSTATUS=unverified
    FIRSTNAME=...
    LASTNAME=...sii
    COUNTRYCODE=MX
    SHIPTONAME=Jerome Vautherin
    SHIPTOSTREET=Don Alfonso 615
    SHIPTOCITY=Mazatlan
    SHIPTOSTATE=SINALOA
    SHIPTOZIP=82110
    SHIPTOCOUNTRYCODE=MX
    SHIPTOCOUNTRYNAME=Mexico
    ADDRESSSTATUS=Unconfirmed


    NVP Request:
    USER=pro22_1222868134_biz_api1.paypal.com&PWD=XPBWBJ9AFZ9X748L&SIGNATURE=...&&VE RSION=51.0&METHOD=DoExpressCheckoutPayment&PAYMENTACTION=Sale&AMT=0.01&TOKEN=EC-32923324MN9029813&PAYERID=GVERAPFQCZU5C

    NVP Response:
    TOKEN=EC-32923324MN9029813
    TIMESTAMP=2010-06-21T13:53:21Z
    CORRELATIONID=24b8fb371ef36
    ACK=Success
    VERSION=51.0
    BUILD=1364064
    TRANSACTIONID=7L808289NN598190G
    TRANSACTIONTYPE=expresscheckout
    PAYMENTTYPE=instant
    ORDERTIME=2010-06-21T13:53:20Z
    AMT=0.01
    FEEAMT=0.01
    TAXAMT=0.00
    CURRENCYCODE=USD
    PAYMENTSTATUS=Completed
    PENDINGREASON=None
    REASONCODE=None


    IPN:
    mc_gross = 0.01
    protection_eligibility = Partially Eligible - INR Only address_status = unconfirmed payer_id = GVERAPFQCZU5C tax = 0.00 address_street = Don Alfonso 615 payment_date = 06:53:20 Jun 21, 2010 PDT payment_status = Completed charset = UTF-8 address_zip = 82110 first_name = ... mc_fee = 0.01 address_country_code = MX address_name = Jerome Vautherin notify_version = 3.0 custom = payer_status = unverified address_country = Mexico address_city = Mazatlan quantity = 1 verify_sign = Aii375HBIqy-CqBWtIkySV0jkZ5gAwz8BnaIaPxUgptYLJg4fm6gnIZ4
    payer_email = [email protected]
    txn_id = 7L808289NN598190G
    payment_type = instant
    last_name = ...sii
    address_state = SINALOA
    receiver_email = [email protected]
    payment_fee = 0.01
    receiver_id = 284MMZK8E5TYQ
    txn_type = express_checkout
    item_name =
    mc_currency = USD
    item_number =
    residence_country = MX
    test_ipn = 1
    handling_amount = 0.00
    transaction_subject =
    payment_gross = 0.01
    shipping = 0.00
    Can you tell me if the payment is validate via IPN or via the API response?

  10. #10
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Paypal Express Checkout missing state information

    Your problem is happening in how PayPal treats the API request, BEFORE any response occurs. It has nothing to do with IPN.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v150 Paypal Express checkout returning with missing info.
    By ss90 in forum PayPal Express Checkout support
    Replies: 9
    Last Post: 22 Nov 2014, 06:29 PM
  2. v151 Significantly changing information sent to Paypal using Express Checkout
    By JTGrocery in forum PayPal Express Checkout support
    Replies: 3
    Last Post: 17 Jan 2013, 04:37 AM
  3. Replies: 1
    Last Post: 14 Jul 2010, 07:42 PM
  4. Paypal express checkout button missing
    By ctcentralinfo in forum PayPal Express Checkout support
    Replies: 25
    Last Post: 16 Jul 2007, 12:56 AM
  5. Paypal Express Checkout - Missing Parameter
    By sitehatchery in forum PayPal Express Checkout support
    Replies: 6
    Last Post: 5 Apr 2007, 07:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg