Zen Cart Logo
Forums / PayPal Express Checkout support / Paypal Express Checkout missing state information

Paypal Express Checkout missing state information

Locked

Views: 4,502

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
11 May 2010, 7:13 PM
#1
jeromev avatar

jeromev

New Zenner

Join Date:
May 2010
Posts:
9
Plugin Contributions:
0

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.

11 May 2010, 9:18 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

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.

12 May 2010, 3:53 AM
#3
jeromev avatar

jeromev

New Zenner

Join Date:
May 2010
Posts:
9
Plugin Contributions:
0

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

12 May 2010, 4:30 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

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.

13 May 2010, 3:29 PM
#5
jeromev avatar

jeromev

New Zenner

Join Date:
May 2010
Posts:
9
Plugin Contributions:
0

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.

[IMG]http://img99.imageshack.us/img99/9269/screen1mn.th.jpg[/IMG]
[IMG]http://img59.imageshack.us/img59/6784/screen2nx.th.jpg[/IMG]

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?

13 May 2010, 7:42 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Paypal Express Checkout missing state information

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

21 May 2010, 7:11 AM
#7
jeromev avatar

jeromev

New Zenner

Join Date:
May 2010
Posts:
9
Plugin Contributions:
0

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:
:yes:
[IMG]http://img43.imageshack.us/img43/8558/ppexpress.th.jpg[/IMG]

:no:
[IMG]http://img16.imageshack.us/img16/8273/ppregcheckout.th.jpg[/IMG]

23 May 2010, 10:44 AM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

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:```
[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.
23 Jun 2010, 7:32 AM
#9
jeromev avatar

jeromev

New Zenner

Join Date:
May 2010
Posts:
9
Plugin Contributions:
0

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=...&&VERSION=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=...&&VERSION=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=[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=...&&VERSION=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?

23 Jun 2010, 11:57 AM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

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.