Paypal IPN item_name suddenly adding + signs resulting in mismatch

boyjah
Contributor
Contributor

From 3 April 2017 I have started getting errors like this:


currency, item name or number or quantity mismatch: IPN item_name (1+ADULT-START+IMMEDIATELY+for+w43799) does not match basket item_name (1 ADULT-START IMMEDIATELY for w43799) nor their trimmed sizes for IPN (1+ADULT-START+IMMEDIATELY+for+w43799) and basket (1 ADULT-START IMMEDIATELY for w43799)

 

For some reason "+" signs are being added where there are spaces in the IPN item_name, resulting in a mismatch and payment is not processed properly on my site. It does not happen for all payments.

 

What is going on and how can I fix it?

Login to Me Too
4 REPLIES 4

MTS_Ciaran
Moderator
Moderator

Hey, 

 

The the transaction through WPS or EC. Can you post the button code you are using?

Login to Me Too

boyjah
Contributor
Contributor

I'm not certain what WPS and EC are, but looking at the code, there is line that says <input type=​"hidden" name=​"bn" value=​"Joomlapolis_Cart_WPS" >​ so I am guessing WPS?

Login to Me Too

alpinesoft
New Community Member

I too am seeing this.  It started a couple of days ago, and I too am only seeing it on certain transactions.  Here's an example sent to my IPN handler; please note the entry highlighted below in bold:

 

IPN Validation failed for ticket: 12576, reason: NO SUCH PRODUCT.

mc_gross=29.95
settle_amount=21.87
protection_eligibility=Eligible
address_status=confirmed
payer_id=RSNDSAMQZ9V3E
address_street=<redacted>
payment_date=00:36:46 Apr 04, 2017 PDT
payment_status=Completed
charset=UTF-8
address_zip=<redacted>
first_name=<redacted>
mc_fee=1.86
address_country_code=AU
exchange_rate=0.778676
address_name=xxxxxxxxxx
notify_version=3.8
settle_currency=GBP
custom=
payer_status=verified
business=<redacted>
address_country=Australia
address_city=SYDNEY
quantity=1
verify_sign=AYm-UvofG9njKKDeEI8KzfvIh05IAOmferjFfopEa6-R3s16mJ2-.mIV
payer_email=<redacted>
txn_id=7WA77895A38926730
payment_type=instant
last_name=<redacted>
address_state=Nsw
receiver_email=<redacted>
payment_fee=1.86
receiver_id=NDG6E3UMYY7LS
txn_type=web_accept
item_name=VinylStudio+for+Macintosh
mc_currency=USD
item_number=12576
residence_country=AU
transaction_subject=
payment_gross=29.95
ipn_track_id=9c6b1f2089291

 

Login to Me Too

boyjah
Contributor
Contributor

I finally got a reply from tech support:

Hi Randal,
 
Thank you for contacting PayPal Merchant Technical Support. My name is Giovani and I am happy to assist you with the issue.
 
I have looked into the given transaction ids and found out that this is a know issue. I have added your sample to the bug ticket and our development team is currently working on the fix.
 
I will keep you posted for any updates.

Regards,
Giovani
Merchant Technical Support
PayPal
Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.