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?