Skip to main content

Paypal IPN

More
10 years 2 months ago #245424 by oacom
Paypal IPN was created by oacom
-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.6

Hi there,

I've got an issue with the ipn. It's been working with no problems for months, and it seems that notificiations don't make it to hikashop since 4 months.
I had a look already on the forum and went through the basics steps to find out the problem with no luck.
www.hikashop.com/en/support/documentatio...or.html#notification
i had a quick look there but I'm reluctant to edit the plugin file, if I don't have to
www.hikashop.com/forum/payment-methods/8...no-confirmation.html

- Hikashop is running on a distant server, up to date, joomla as well
- rsfirewall actived but tried to turn it off (no change)
- sh404 actived but tried to turn it off (no change)
- tested on paypal and sandbox with same result
- checkout menu is public

Had a look on hikashop payment logs ...
Code:
Array ( [option] => com_hikashop [ctrl] => checkout [task] => notify [notif_payment] => paypal [tmpl] => component [lang] => fr [Itemid] => 125 [mc_gross] => 52.40 [invoice] => 61 [protection_eligibility] => Eligible [address_status] => unconfirmed [item_number1] => [payer_id] => 46PHPLM3NJDN8 [tax] => 0.00 [address_street] => 6,rue Anatole Le Braz [payment_date] => 14:09:57 Jul 13, 2016 PDT [payment_status] => Completed [charset] => windows-1252 [address_zip] => 22140 [mc_shipping] => 0.00 [mc_handling] => 0.00 [first_name] => testbuyer [mc_fee] => 2.03 [address_country_code] => FR [address_name] => Soci�t� Oacom [notify_version] => 3.8 [custom] => [payer_status] => verified [business] => sandbox-facilitator@oacom.fr [address_country] => France [num_cart_items] => 1 [mc_handling1] => 0.00 [address_city] => Pluzuner [verify_sign] => AAAxYSH0dW47uTEBtmQ7clS-GSscA3f7Pcffl3KqvxK5g7oMXxo9kWnr [payer_email] => seb@oacom.fr [mc_shipping1] => 0.00 [tax1] => 0.00 [txn_id] => 3YK08719S4966590W [payment_type] => instant [last_name] => buyer [address_state] => C⯑-d'Armor [item_name1] => Prix total [receiver_email] => sandbox-facilitator@oacom.fr [payment_fee] => [quantity1] => 1 [receiver_id] => R2TXXZKMW7LFC [txn_type] => cart [mc_gross_1] => 52.40 [mc_currency] => EUR [residence_country] => FR [test_ipn] => 1 [transaction_subject] => [payment_gross] => [ipn_track_id] => 95fa6937e228 ) stdClass Object ( [order_id] => 61 [order_billing_address_id] => 1 [order_shipping_address_id] => 1 [order_user_id] => 1 [order_status] => created [order_type] => sale [order_number] => C6R1 [order_created] => 1468444626 [order_modified] => 1468444626 [order_invoice_id] => 0 [order_invoice_number] => [order_invoice_created] => 0 [order_currency_id] => 1 [order_full_price] => 52.40000 [order_tax_info] => Array ( ) [order_discount_code] => [order_discount_price] => 0.00000 [order_discount_tax] => 0.00000 [order_payment_id] => 1 [order_payment_method] => paypal [order_payment_price] => 0.00000 [order_payment_params] => [order_shipping_id] => 2 [order_shipping_method] => manual [order_shipping_price] => 3.50000 [order_shipping_tax] => 0.00000 [order_shipping_params] => stdClass Object ( [prices] => Array ( [2@0] => stdClass Object ( [price_with_tax] => 3.5 [tax] => 0 ) ) ) [order_partner_id] => 0 [order_partner_price] => 0.00000 [order_partner_paid] => 0 [order_partner_currency_id] => 0 [order_ip] => 90.32.182.145 [order_site_id] => [order_currency_info] => O:8:"stdClass":4:{s:13:"currency_code";s:3:"EUR";s:13:"currency_rate";s:7:"1.00000";s:20:"currency_percent_fee";s:4:"0.00";s:17:"currency_modified";s:10:"1461246616";} [order_payment_tax] => 0.00000 ) Array ( [scheme] => https [host] => www.sandbox.paypal.com [path] => /cgi-bin/webscr [query] => [port] => 443 [host_socket] => ssl://www.sandbox.paypal.com ) POST /cgi-bin/webscr HTTP/1.1 User-Agent: PHP/5.5.14 Referer: http://www.signe-mademoiselle.fr/index.php?option=com_hikashop&ctrl=checkout&task=notify¬if_payment=paypal&tmpl=component&lang=fr&Itemid=125 Server: Apache Host: www.sandbox.paypal.com Content-Type: application/x-www-form-urlencoded Content-Length: 1172 Accept: */* Connection: close option=com_hikashop&ctrl=checkout&task=notify¬if_payment=paypal&tmpl=component&lang=fr&Itemid=125&mc_gross=52.40&invoice=61&protection_eligibility=Eligible&address_status=unconfirmed&item_number1=&payer_id=46PHPLM3NJDN8&tax=0.00&address_street=6%2Crue+Anatole+Le+Braz&payment_date=14%3A09%3A57+Jul+13%2C+2016+PDT&payment_status=Completed&charset=windows-1252&address_zip=22140&mc_shipping=0.00&mc_handling=0.00&first_name=testbuyer&mc_fee=2.03&address_country_code=FR&address_name=Soci%E9t%E9+Oacom¬ify_version=3.8&custom=&payer_status=verified&business=sandbox-facilitator%40oacom.fr&address_country=France&num_cart_items=1&mc_handling1=0.00&address_city=Pluzuner&verify_sign=AAAxYSH0dW47uTEBtmQ7clS-GSscA3f7Pcffl3KqvxK5g7oMXxo9kWnr&payer_email=seb%40oacom.fr&mc_shipping1=0.00&tax1=0.00&txn_id=3YK08719S4966590W&payment_type=instant&last_name=buyer&address_state=C%E2%AF%91-d%27Armor&item_name1=Prix+total&receiver_email=sandbox-facilitator%40oacom.fr&payment_fee=&quantity1=1&receiver_id=R2TXXZKMW7LFC&txn_type=cart&mc_gross_1=52.40&mc_currency=EUR&residence_country=FR&test_ipn=1&transaction_subject=&payment_gross=&ipn_track_id=95fa6937e228&cmd=_notify-validate HTTP/1.1 200 OK Date: Wed, 13 Jul 2016 21:10:03 GMT Server: Apache X-Frame-Options: SAMEORIGIN Set-Cookie: c9MWDuvPtT9GIMyPc3jwol1VSlO=uJthruH5OPMcoyyGlU67mu_Cx7SiqZ_jDMat4_pT4grHiiWogRgO84Asr5ok2BZ7vhdDrj75p4X_bpcGmAAEA7d5woiUDlzMk8XTeLu6IhgqdPSIDi6eVz3utFpJateQ7WlSe3qUOg2v2e54C0kV4mvEuvJE2jdsbkGQ45aADOGm4BZV8UBwxzF1wMxFuR38T8EPaDxQ_n3GPQkrSXHkPDF8x5t0Fxd0aEI0EWhwVRVAG1A-xsw8h6KG_t99oOxtt3yvZSoLUfrlX67O-HGBchAM2AtK305xIxn_2G9j0Xeow79uClceyNSlA5gskQE5sX2CNH0knK3RY3_RoGJ5lVtDFpbL31FfKSFAf3Wm4_Kc6-eNPNahcjRsRejPmAR30WLTPkFfNweerm1eczcydGcMDOjQ235mL6JtP-zLw-qr6dknCkp-zrHADa4; domain=.paypal.com; path=/; Secure; HttpOnly Set-Cookie: cookie_check=yes; expires=Sat, 11-Jul-2026 21:10:03 GMT; domain=.paypal.com; path=/; Secure; HttpOnly Set-Cookie: navcmd=_notify-validate; domain=.paypal.com; path=/; Secure; HttpOnly Set-Cookie: navlns=0.0; expires=Fri, 13-Jul-2018 21:10:03 GMT; domain=.paypal.com; path=/; Secure; HttpOnly Set-Cookie: Apache=10.72.108.11.1468444203248386; path=/; expires=Fri, 06-Jul-46 21:10:03 GMT Vary: Accept-Encoding,User-Agent Connection: close HTTP_X_PP_AZ_LOCATOR: sandbox.slc Paypal-Debug-Id: 213bddce38443 Set-Cookie: X-PP-SILOVER=name%3DSANDBOX3.WEB.1%26silo_version%3D1880%26app%3Dappdispatcher%26TIME%3D732857943%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Expires=Wed, 13 Jul 2016 21:40:03 GMT; domain=.paypal.com; path=/; Secure; HttpOnly Set-Cookie: X-PP-SILOVER=; Expires=Thu, 01 Jan 1970 00:00:01 GMT Strict-Transport-Security: max-age=14400 Transfer-Encoding: chunked Content-Type: text/html; charset=UTF-8 7 INVALID 0

had a look on apache logs
Code:
173.0.82.126 - - [13/Jul/2016:23:02:31 +0200] "POST /index.php?option=com_hikashop&ctrl=checkout&task=notify&notif_payment=paypal&tmpl=component&lang=fr&Itemid=125 HTTP/1.1" 200 - "-" "PayPal IPN ( https://www.paypal.com/ipn )"

but orders state don't change ...

Any clue ?

Thanks for your help

---


seb

Please Log in or Create an account to join the conversation.

More
10 years 2 months ago #245429 by nicolas
Replied by nicolas on topic Paypal IPN
Hi,

Your payment log says that everything is fine. The payment notification is received, the data is in there. And HikaShop can send the validation to PayPal, but then PayPal refuses it as being invalid. But I don't see what's invalid about it.
I would recommend to contact the PayPal tech support with the content of that payment log so that they can have a look to tell you why that validation request would be invalid.
Also, it might come from the new rules of PayPal regarding HTTPS and SSL certificates. Maybe the SSL module of PHP you're using on your web server uses an encryption method which isn't supported anymore by PayPal. But maybe it's something else. PayPal should be able tot tell you more precisely what is the problem.
The following user(s) said Thank You: oacom

Please Log in or Create an account to join the conversation.

More
10 years 2 months ago #245460 by oacom
Replied by oacom on topic Paypal IPN
Thank you nicolas for answering in such a short notice.
I'm getting back to paypal.
have a very nice day

---


seb

Please Log in or Create an account to join the conversation.

More
10 years 2 months ago #245691 by oacom
Replied by oacom on topic Paypal IPN
So, here is paypal answer :

- the answer is INVALID because the message sent from the website is not the same as the one sent by paypal (paypal mentioned the character pb in the log)
- it could come from a different character set (i did't change anything in my template, or in the environnment)

Any clue ?
thank you

---


seb

Please Log in or Create an account to join the conversation.

More
10 years 2 months ago #245712 by nicolas
Replied by nicolas on topic Paypal IPN
Hi,

I don't see why it would be a problem. We have the same plugin on our website, and we have customers from more than a hundred countries with addresses with special characters and the payment notifications are valid.
I see however in your payment log that there is the charset parameter set to windows-1252 while HikaShop asks PayPal to use UTF8: take.ms/OOGL1
So maybe it's linked to that.
If you try with an address without special characters (accents) does it work ?
If so, maybe the issue is with your web server settings not using utf8 or something like that ?

Please Log in or Create an account to join the conversation.

More
10 years 2 months ago #245768 by oacom
Replied by oacom on topic Paypal IPN
I'm actually just trying to understand the problem and solve it.
I know it must be something on my side, but there were no changes to this website fort the last 6 moths ( just updates from components) so I don't understand how things like charset could have been altered.
The log is from my actual test account, which I used for my first tests (and it was working fine with no problem with the accents).
I'll have a try with a name with no accents ...

thanks for your help

---


seb

Please Log in or Create an account to join the conversation.

More
10 years 2 months ago #245784 by nicolas
Replied by nicolas on topic Paypal IPN
Hi,

It would potentially come from an update of the web server (apache or PHP) or a change in their settings if it's about the charset.

Please Log in or Create an account to join the conversation.

More
10 years 2 months ago #245847 by oacom
Replied by oacom on topic Paypal IPN
I forced utf-8 with htaccess
AddDefaultCharset UTF-8
with no luck

it still show 'windows-1252' in the payment log ... how can I change this ? where is it coming from ?

i don't think it's server related, I would have issues on other websites.

thanks for your help

---


seb

Please Log in or Create an account to join the conversation.

More
10 years 2 months ago #245855 by nicolas
Replied by nicolas on topic Paypal IPN
Hi,

The windows-1252 comes from the parameters sent by PayPal during the payment notification.
I'm not sure why they do that and don't send them in UTF8. There is no reason since HikaShop sends the charset parameter in UTF8 when you're redirected to PayPal at the end of the checkout.
Maybe there is something to change in the settings of the PayPal merchant account ?
Maybe the PayPal support can tell you why they use that charset and not UTF8 there ?
Also, did it work without the accents ?

Please Log in or Create an account to join the conversation.

More
10 years 2 months ago #245907 by oacom
Replied by oacom on topic Paypal IPN
I didn't test without the accents but it seems obvious now that the problem is character related.

the thing is the first time hikashop is sendig infos to paypal : accents are there. It seems the problem is coming afterwards.

Actually there are parameters for the charset of the paypal button, here is the url, it may help others.
www.paypal.com/cgi-bin/customerprofilewe...le-language-encoding .


I need to make more tests see if it's working ...

---


seb

Please Log in or Create an account to join the conversation.

More
10 years 2 months ago #245910 by nicolas
Replied by nicolas on topic Paypal IPN
Hi,

I know about these parameters. Actually, as I was saying in my previous message, HikaShop already use the charset parameter when sending the customer to PayPal:
take.ms/IQqic
in the file plugins/hikashoppayment/paypal/paypal.php

Please Log in or Create an account to join the conversation.

More
10 years 2 months ago #246037 by oacom
Replied by oacom on topic Paypal IPN
ok, I didn't know i was linked to the same thing.
I've got an issue, so I'm trying to understand and look around to find a solution.

- I tried to edit the button (throught the url), it doesn't change a thing
- I tried with no special characters (in the name), it doesn't work neither
- paypal answer is it's coming from their side ....

i'd appreciate any help
Code:
Array ( [option] => com_hikashop [ctrl] => checkout [task] => notify [notif_payment] => paypal [tmpl] => component [lang] => fr [Itemid] => 125 [mc_gross] => 7.70 [invoice] => 64 [protection_eligibility] => Eligible [address_status] => unconfirmed [item_number1] => [payer_id] => 46PHPLM3NJDN8 [tax] => 0.00 [address_street] => 6,rue Anatole Le Braz [payment_date] => 12:39:20 Jul 21, 2016 PDT [payment_status] => Completed [charset] => windows-1252 [address_zip] => 22140 [mc_shipping] => 0.00 [mc_handling] => 0.00 [first_name] => testbuyer [mc_fee] => 0.51 [address_country_code] => FR [address_name] => Soci�t� Oacom [notify_version] => 3.8 [custom] => [payer_status] => verified [business] => sandbox-facilitator@oacom.fr [address_country] => France [num_cart_items] => 1 [mc_handling1] => 0.00 [address_city] => Pluzuner [verify_sign] => AMIsJErLWFh1ByQ-Pn.oseCWp0SBAn5QMDVwClGwv6jKGm-5ricf3Jom [payer_email] => seb@oacom.fr [mc_shipping1] => 0.00 [tax1] => 0.00 [txn_id] => 40D02672YJ064752Y [payment_type] => instant [last_name] => buyer [address_state] => C⯑-d'Armor [item_name1] => Prix total [receiver_email] => sandbox-facilitator@oacom.fr [payment_fee] => [quantity1] => 1 [receiver_id] => R2TXXZKMW7LFC [txn_type] => cart [mc_gross_1] => 7.70 [mc_currency] => EUR [residence_country] => FR [test_ipn] => 1 [transaction_subject] => [payment_gross] => [ipn_track_id] => 946389ac2fd36 ) stdClass Object ( [order_id] => 64 [order_billing_address_id] => 1 [order_shipping_address_id] => 1 [order_user_id] => 1 [order_status] => created [order_type] => sale [order_number] => C6U4 [order_created] => 1469130417 [order_modified] => 1469130417 [order_invoice_id] => 0 [order_invoice_number] => [order_invoice_created] => 0 [order_currency_id] => 1 [order_full_price] => 7.70000 [order_tax_info] => Array ( ) [order_discount_code] => [order_discount_price] => 0.00000 [order_discount_tax] => 0.00000 [order_payment_id] => 1 [order_payment_method] => paypal [order_payment_price] => 0.00000 [order_payment_params] => [order_shipping_id] => 2 [order_shipping_method] => manual [order_shipping_price] => 0.70000 [order_shipping_tax] => 0.00000 [order_shipping_params] => stdClass Object ( [prices] => Array ( [2@0] => stdClass Object ( [price_with_tax] => 0.7 [tax] => 0 ) ) ) [order_partner_id] => 0 [order_partner_price] => 0.00000 [order_partner_paid] => 0 [order_partner_currency_id] => 0 [order_ip] => 81.53.228.144 [order_site_id] => [order_currency_info] => O:8:"stdClass":4:{s:13:"currency_code";s:3:"EUR";s:13:"currency_rate";s:7:"1.00000";s:20:"currency_percent_fee";s:4:"0.00";s:17:"currency_modified";s:10:"1461246616";} [order_payment_tax] => 0.00000 ) Array ( [scheme] => https [host] => www.sandbox.paypal.com [path] => /cgi-bin/webscr [query] => [port] => 443 [host_socket] => ssl://www.sandbox.paypal.com ) POST /cgi-bin/webscr HTTP/1.1 User-Agent: PHP/5.5.14 Referer: http://www.signe-mademoiselle.fr/index.php?option=com_hikashop&ctrl=checkout&task=notify¬if_payment=paypal&tmpl=component&lang=fr&Itemid=125 Server: Apache Host: www.sandbox.paypal.com Content-Type: application/x-www-form-urlencoded Content-Length: 1171 Accept: */* Connection: close option=com_hikashop&ctrl=checkout&task=notify¬if_payment=paypal&tmpl=component&lang=fr&Itemid=125&mc_gross=7.70&invoice=64&protection_eligibility=Eligible&address_status=unconfirmed&item_number1=&payer_id=46PHPLM3NJDN8&tax=0.00&address_street=6%2Crue+Anatole+Le+Braz&payment_date=12%3A39%3A20+Jul+21%2C+2016+PDT&payment_status=Completed&charset=windows-1252&address_zip=22140&mc_shipping=0.00&mc_handling=0.00&first_name=testbuyer&mc_fee=0.51&address_country_code=FR&address_name=Soci%E9t%E9+Oacom¬ify_version=3.8&custom=&payer_status=verified&business=sandbox-facilitator%40oacom.fr&address_country=France&num_cart_items=1&mc_handling1=0.00&address_city=Pluzuner&verify_sign=AMIsJErLWFh1ByQ-Pn.oseCWp0SBAn5QMDVwClGwv6jKGm-5ricf3Jom&payer_email=seb%40oacom.fr&mc_shipping1=0.00&tax1=0.00&txn_id=40D02672YJ064752Y&payment_type=instant&last_name=buyer&address_state=C%E2%AF%91-d%27Armor&item_name1=Prix+total&receiver_email=sandbox-facilitator%40oacom.fr&payment_fee=&quantity1=1&receiver_id=R2TXXZKMW7LFC&txn_type=cart&mc_gross_1=7.70&mc_currency=EUR&residence_country=FR&test_ipn=1&transaction_subject=&payment_gross=&ipn_track_id=946389ac2fd36&cmd=_notify-validate HTTP/1.1 200 OK Date: Thu, 21 Jul 2016 19:39:28 GMT Server: Apache X-Frame-Options: SAMEORIGIN Set-Cookie: c9MWDuvPtT9GIMyPc3jwol1VSlO=YLPld9O1nXqEdg7sMSqoC2lA8_1tdm-mBhrSZObOKzbuMpkIZf8H0UXa1rgin2WDEFHRG_Jj2AoxCO3s6zfv1HHLo22TrRnibJNWUfJX02TPaUM-8Ng0RVpP1AvhD9AwEwDlb1_9ScrckWpYMj52IZqLKgNyF9gp8T16WO4KYmZNvn-qNOl6Yph-YRCmhtl6--2vZNoztxJ-Wl7m5EdIGX1lpqpKlhGy0s90whd6SauePqgZ-6eQB7brVe7bxlpqaXD2tyCOLsrKbDpWLtwEv5SCAtIlGu_ABSp8kqxZfXohJgpsrJrtEIdpnc-gucsHB1kBiWnOjCPMdE6pLCrn1a4bcKhaIqjOXTfD5Wkcarohs7eoCipYfyJ6B9ZfmAvp5d8RQ14bXBbLal9re6FRqMJEWcPCY9UWempr0t-pJGC0T5WEUeuTdrBS3tm; domain=.paypal.com; path=/; Secure; HttpOnly Set-Cookie: cookie_check=yes; expires=Sun, 19-Jul-2026 19:39:28 GMT; domain=.paypal.com; path=/; Secure; HttpOnly Set-Cookie: navcmd=_notify-validate; domain=.paypal.com; path=/; Secure; HttpOnly Set-Cookie: navlns=0.0; expires=Sat, 21-Jul-2018 19:39:28 GMT; domain=.paypal.com; path=/; Secure; HttpOnly Set-Cookie: Apache=10.72.108.11.1469129968421176; path=/; expires=Sat, 14-Jul-46 19:39:28 GMT Vary: Accept-Encoding,User-Agent Connection: close HTTP_X_PP_AZ_LOCATOR: sandbox.slc Paypal-Debug-Id: a23c03f614f6 Set-Cookie: X-PP-SILOVER=name%3DSANDBOX3.WEB.1%26silo_version%3D1880%26app%3Dappdispatcher%26TIME%3D4028928343%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Expires=Thu, 21 Jul 2016 20:09:29 GMT; domain=.paypal.com; path=/; Secure; HttpOnly Set-Cookie: X-PP-SILOVER=; Expires=Thu, 01 Jan 1970 00:00:01 GMT Strict-Transport-Security: max-age=14400 Transfer-Encoding: chunked Content-Type: text/html; charset=UTF-8 7 INVALID 0 invalid transaction Array ( [option] => com_hikashop [ctrl] => checkout [task] => notify [notif_payment] => paypal [tmpl] => component [lang] => fr [Itemid] => 125 [mc_gross] => 26.29 [invoice] => 65 [protection_eligibility] => Eligible [address_status] => unconfirmed [item_number1] => [payer_id] => 46PHPLM3NJDN8 [tax] => 0.00 [address_street] => 6,rue Anatole Le Braz [payment_date] => 12:42:48 Jul 21, 2016 PDT [payment_status] => Completed [charset] => windows-1252 [address_zip] => 22140 [mc_shipping] => 0.00 [mc_handling] => 0.00 [first_name] => testbuyer [mc_fee] => 1.14 [address_country_code] => FR [address_name] => Societe Oacom [notify_version] => 3.8 [custom] => [payer_status] => verified [business] => sandbox-facilitator@oacom.fr [address_country] => France [num_cart_items] => 1 [mc_handling1] => 0.00 [address_city] => Pluzuner [verify_sign] => AZP9kKjSg0EFT4-N3mJFspNbHixHAk4mDcvdwaIANa8oi.Iwg10K8vyJ [payer_email] => seb@oacom.fr [mc_shipping1] => 0.00 [tax1] => 0.00 [txn_id] => 62H97714RV457861J [payment_type] => instant [last_name] => buyer [address_state] => C⯑-d'Armor [item_name1] => Prix total [receiver_email] => sandbox-facilitator@oacom.fr [payment_fee] => [quantity1] => 1 [receiver_id] => R2TXXZKMW7LFC [txn_type] => cart [mc_gross_1] => 26.29 [mc_currency] => EUR [residence_country] => FR [test_ipn] => 1 [transaction_subject] => [payment_gross] => [ipn_track_id] => d72e1f32607b6 ) stdClass Object ( [order_id] => 65 [order_billing_address_id] => 39 [order_shipping_address_id] => 39 [order_user_id] => 1 [order_status] => created [order_type] => sale [order_number] => C6W5 [order_created] => 1469130630 [order_modified] => 1469130630 [order_invoice_id] => 0 [order_invoice_number] => [order_invoice_created] => 0 [order_currency_id] => 1 [order_full_price] => 26.29000 [order_tax_info] => Array ( ) [order_discount_code] => [order_discount_price] => 0.00000 [order_discount_tax] => 0.00000 [order_payment_id] => 1 [order_payment_method] => paypal [order_payment_price] => 0.00000 [order_payment_params] => [order_shipping_id] => 2 [order_shipping_method] => manual [order_shipping_price] => 2.39000 [order_shipping_tax] => 0.00000 [order_shipping_params] => stdClass Object ( [prices] => Array ( [2@0] => stdClass Object ( [price_with_tax] => 2.39 [tax] => 0 ) ) ) [order_partner_id] => 0 [order_partner_price] => 0.00000 [order_partner_paid] => 0 [order_partner_currency_id] => 0 [order_ip] => 81.53.228.144 [order_site_id] => [order_currency_info] => O:8:"stdClass":4:{s:13:"currency_code";s:3:"EUR";s:13:"currency_rate";s:7:"1.00000";s:20:"currency_percent_fee";s:4:"0.00";s:17:"currency_modified";s:10:"1461246616";} [order_payment_tax] => 0.00000 ) Array ( [scheme] => https [host] => www.sandbox.paypal.com [path] => /cgi-bin/webscr [query] => [port] => 443 [host_socket] => ssl://www.sandbox.paypal.com ) POST /cgi-bin/webscr HTTP/1.1 User-Agent: PHP/5.5.14 Referer: http://www.signe-mademoiselle.fr/index.php?option=com_hikashop&ctrl=checkout&task=notify¬if_payment=paypal&tmpl=component&lang=fr&Itemid=125 Server: Apache Host: www.sandbox.paypal.com Content-Type: application/x-www-form-urlencoded Content-Length: 1169 Accept: */* Connection: close option=com_hikashop&ctrl=checkout&task=notify¬if_payment=paypal&tmpl=component&lang=fr&Itemid=125&mc_gross=26.29&invoice=65&protection_eligibility=Eligible&address_status=unconfirmed&item_number1=&payer_id=46PHPLM3NJDN8&tax=0.00&address_street=6%2Crue+Anatole+Le+Braz&payment_date=12%3A42%3A48+Jul+21%2C+2016+PDT&payment_status=Completed&charset=windows-1252&address_zip=22140&mc_shipping=0.00&mc_handling=0.00&first_name=testbuyer&mc_fee=1.14&address_country_code=FR&address_name=Societe+Oacom¬ify_version=3.8&custom=&payer_status=verified&business=sandbox-facilitator%40oacom.fr&address_country=France&num_cart_items=1&mc_handling1=0.00&address_city=Pluzuner&verify_sign=AZP9kKjSg0EFT4-N3mJFspNbHixHAk4mDcvdwaIANa8oi.Iwg10K8vyJ&payer_email=seb%40oacom.fr&mc_shipping1=0.00&tax1=0.00&txn_id=62H97714RV457861J&payment_type=instant&last_name=buyer&address_state=C%E2%AF%91-d%27Armor&item_name1=Prix+total&receiver_email=sandbox-facilitator%40oacom.fr&payment_fee=&quantity1=1&receiver_id=R2TXXZKMW7LFC&txn_type=cart&mc_gross_1=26.29&mc_currency=EUR&residence_country=FR&test_ipn=1&transaction_subject=&payment_gross=&ipn_track_id=d72e1f32607b6&cmd=_notify-validate HTTP/1.1 200 OK Date: Thu, 21 Jul 2016 19:42:52 GMT Server: Apache X-Frame-Options: SAMEORIGIN Set-Cookie: c9MWDuvPtT9GIMyPc3jwol1VSlO=ImVk4HfUrhfH1fQrKHk0Shv8k9ifR5MTvTTZXjNGKZUfvqRUY7dtM2VQWBUtldWIIcEdLnLe5l84J_5VNo06NGZaLRfFfUn2ZtuyHUQffOJ_YAGtj3Zpbg9NhSDx0m_FYQOMcYmiCK3zFSWOYM6HA1EwW1XDh0NyNP7c1wqzWEPiMVLYb7aha5dLpEChJGcR9j9lIpmj-t6lJ0c3G5Tzrtx80TpWK3ma3b7JWEyPVoPG0-Ua3DlDn4sW4c1hXpemSQRylBPiUZOHpdgcytkIvtFHazTbYA8S54XQ9U-e3QQ-L0xVCFZkCjukxmVU-yEEDirZbyZNV7cV4aMq75dkyuKw4Yugj48v817wmxQYCIsFexE_SMnqxhDldFJ8pSALcEcH7xTzQnTp3-0X3s9i9iu1q9ZsE7EROq3V-IEFcVuUGWUORQL0cr5cRIG; domain=.paypal.com; path=/; Secure; HttpOnly Set-Cookie: cookie_check=yes; expires=Sun, 19-Jul-2026 19:42:53 GMT; domain=.paypal.com; path=/; Secure; HttpOnly Set-Cookie: navcmd=_notify-validate; domain=.paypal.com; path=/; Secure; HttpOnly Set-Cookie: navlns=0.0; expires=Sat, 21-Jul-2018 19:42:53 GMT; domain=.paypal.com; path=/; Secure; HttpOnly Set-Cookie: Apache=10.72.108.11.1469130172990109; path=/; expires=Sat, 14-Jul-46 19:42:52 GMT Vary: Accept-Encoding,User-Agent Connection: close HTTP_X_PP_AZ_LOCATOR: sandbox.slc Paypal-Debug-Id: cd89495bed729 Set-Cookie: X-PP-SILOVER=name%3DSANDBOX3.WEB.1%26silo_version%3D1880%26app%3Dappdispatcher%26TIME%3D3156578647%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Expires=Thu, 21 Jul 2016 20:12:53 GMT; domain=.paypal.com; path=/; Secure; HttpOnly Set-Cookie: X-PP-SILOVER=; Expires=Thu, 01 Jan 1970 00:00:01 GMT Strict-Transport-Security: max-age=14400 Transfer-Encoding: chunked Content-Type: text/html; charset=UTF-8 7 INVALID 0 invalid transaction

---


seb

Please Log in or Create an account to join the conversation.

More
10 years 2 months ago #246038 by nicolas
Replied by nicolas on topic Paypal IPN
Hi,

No problem, I was just pointing out that it's not coming from that charset parameter.
I see that there is still the address state with special characters in your new test. So if it comes from a problem with special characters, it's normal that there is still the problem.
Try to remove the special character in that state zone, or use another one and see if that helps.

Please Log in or Create an account to join the conversation.

More
10 years 2 months ago #246357 by oacom
Replied by oacom on topic Paypal IPN
I did remove special caracters and it's working, so I can make it work now ? do you have any clue ?

---


seb

Please Log in or Create an account to join the conversation.

More
10 years 2 months ago #246371 by nicolas
Replied by nicolas on topic Paypal IPN
So that means that it's really linked to the charset and the special characters in some way.

Try checking the default_charset setting of your php.ini :
php.net/manual/en/ini.core.php#ini.default-charset
Make sure that it is set to UTF-8.
And if that doesn't help in UTF-8, try setting it to windows-1252 which is the charset referenced by PayPal in the payment notification they send to your server.

Please Log in or Create an account to join the conversation.

Time to create page: 0.297 seconds
Powered by Kunena Forum