Post by MattW » Sat Aug 28, 2010 8:11 pm

Since upgrading to 1.4.9 this morning, I'm having issues using PayPal standard since enabling PDT and IPN.

Each payment is coming back saying it needs manual varification.

I've done my own tests, and they are all coming back with the same errors:

Code: Select all

2010-08-28 11:34:24 - PP_STANDARD :: IPN INIT <-- DEBUG POST VARS::mc_gross=2.00&invoice=12 - Matt Worthington&protection_eligibility=Eligible&address_status=confirmed&item_number1=Sticker&payer_id=8H2SQPZK6YSA6&tax=0.00&address_street=143 Smalldale Road&payment_date=04:34:22 Aug 28, 2010 PDT&payment_status=Completed&charset=windows-1252&address_zip=S12 4YE&mc_shipping=0.00&mc_handling=0.00&first_name=Bryan&mc_fee=0.27&address_country_code=GB&address_name=Matt Worthington&notify_version=3.0&custom=ZmM=&payer_status=unverified&business=payments@z22se.co.uk&address_country=United Kingdom&num_cart_items=1&mc_handling1=0.00&address_city=Sheffield&verify_sign=AQU0e5vuZCvSg-XJploSa.sGUDlpAiGV3UQQ4IT68xzv37tudACl5OSb&payer_email=payments@pure-enough.co.uk&mc_shipping1=0.00&txn_id=8HA464486W2095132&payment_type=instant&payer_business_name=Pure Enough&last_name=Ross&address_state=&item_name1=Sticker&receiver_email=payments@z22se.co.uk&payment_fee=&quantity1=1&receiver_id=X4A8G62XPTLFS&txn_type=cart&mc_gross_1=2.00&mc_currency=GBP&residence_country=GB&transaction_subject=ZmM=&payment_gross=&
2010-08-28 11:34:24 - PP_STANDARD :: IPN REQ  --> cmd=_notify-validate&mc_gross=2.00&invoice=12+-+Matt+Worthington&protection_eligibility=Eligible&address_status=confirmed&item_number1=Sticker&payer_id=8H2SQPZK6YSA6&tax=0.00&address_street=143+Smalldale+Road&payment_date=04%3A34%3A22+Aug+28%2C+2010+PDT&payment_status=Completed&charset=windows-1252&address_zip=S12+4YE&mc_shipping=0.00&mc_handling=0.00&first_name=Bryan&mc_fee=0.27&address_country_code=GB&address_name=Matt+Worthington&notify_version=3.0&custom=ZmM%3D&payer_status=unverified&business=payments%40z22se.co.uk&address_country=United+Kingdom&num_cart_items=1&mc_handling1=0.00&address_city=Sheffield&verify_sign=AQU0e5vuZCvSg-XJploSa.sGUDlpAiGV3UQQ4IT68xzv37tudACl5OSb&payer_email=payments%40pure-enough.co.uk&mc_shipping1=0.00&txn_id=8HA464486W2095132&payment_type=instant&payer_business_name=Pure+Enough&last_name=Ross&address_state=&item_name1=Sticker&receiver_email=payments%40z22se.co.uk&payment_fee=&quantity1=1&receiver_id=X4A8G62XPTLFS&txn_type=cart&mc_gross_1=2.00&mc_currency=GBP&residence_country=GB&transaction_subject=ZmM%3D&payment_gross=
2010-08-28 11:34:24 - PP_STANDARD :: IPN RESP <-- 
2010-08-28 11:34:28 - PP_STANDARD :: PDT INIT <-- DEBUG GET VARS::route=payment/pp_standard/pdt&
The payment does go through, and it's listed in the shop after.

One of my members tried to purcahse something this morning, and he advised me of the below:
JohnnyN wrote:I used the shop this morning Matt and when it took me to PayPal, I pressed the Pay Now tab and the page turned into a list of gobbledegook code. I signed back into PayPal through the normal channels and it shows that the payment has been put through to you. Just wondered why I ended up on a page of code?
Here are the error codes reported.

Code: Select all

2010-08-28 8:13:34 - PP_STANDARD :: PDT INIT <-- DEBUG GET VARS::route=payment/pp_standard/pdt&tx=81U29524MG788253L&st=Completed&amt=2.00&cc=GBP&cm=ZmI=&item_number=&
2010-08-28 8:13:34 - PHP Warning:  file_get_contents() [<a href='function.file-get-contents'>function.file-get-contents</a>]: Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /home/z22se/public_html/shop/catalog/controller/payment/pp_standard.php on line 220
2010-08-28 8:13:34 - PHP Warning:  file_get_contents(https://www.paypal.com/cgi-bin/webscr?cmd=_notify-synch&tx=81U29524MG788253L&at=sT92hGagEAwrtBdIAdXX8SMAfWCiarORsvnUJqP7vl8ELwSgvRbAIjDuAa4) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: No such file or directory in /home/z22se/public_html/shop/catalog/controller/payment/pp_standard.php on line 220
2010-08-28 8:13:34 - PP_STANDARD :: PDT REQ  --> cmd=_notify-synch&tx=81U29524MG788253L&at=sT92hGagEAwrtBdIAdXX8SMAfWCiarORsvnUJqP7vl8ELwSgvRbAIjDuAa4
2010-08-28 8:13:34 - PP_STANDARD :: PDT RESP <-- 
2010-08-28 8:13:34 - PP_STANDARD :: VALIDATION FAILED : PP_Standard - No data/response from verification.
2010-08-28 8:13:34 - PHP Notice:  Undefined variable: lines in /home/z22se/public_html/shop/catalog/controller/payment/pp_standard.php on line 260
2010-08-28 8:13:34 - PHP Notice:  Undefined index: payment_status in /home/z22se/public_html/shop/catalog/controller/payment/pp_standard.php on line 378
2010-08-28 8:13:34 - PHP Notice:  Undefined index: reason_code in /home/z22se/public_html/shop/catalog/controller/payment/pp_standard.php on line 445
2010-08-28 8:13:34 - PHP Notice:  Undefined index: payment_status in /home/z22se/public_html/shop/catalog/controller/payment/pp_standard.php on line 452
2010-08-28 8:13:34 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/z22se/public_html/shop/index.php:92) in /home/z22se/public_html/shop/system/engine/controller.php on line 27
2010-08-28 8:13:34 - PP_STANDARD :: IPN INIT <-- DEBUG POST VARS::mc_gross=2.00&invoice=11 - John Needs&protection_eligibility=Partially Eligible - INR Only&address_status=unconfirmed&item_number1=Sticker&payer_id=4GFTKC8JCWHD6&tax=0.00&address_street=3 Fussells Buildings
Whiteway Road&payment_date=01:13:25 Aug 28, 2010 PDT&payment_status=Completed&charset=windows-1252&address_zip=BS57QY&mc_shipping=0.00&mc_handling=0.00&first_name=John&mc_fee=0.27&address_country_code=GB&address_name=John Needs&notify_version=3.0&custom=ZmI=&payer_status=verified&business=payments@z22se.co.uk&address_country=United Kingdom&num_cart_items=1&mc_handling1=0.00&address_city=Bristol&verify_sign=ADOB7iRmUObbsUeGo8OYyLBCP4.gA4K5.xtjvZO1xEzOIwdSIqQP5lTe&payer_email=jjnceb@hotmail.co.uk&mc_shipping1=0.00&contact_phone=&txn_id=81U29524MG788253L&payment_type=instant&last_name=Needs&address_state=&item_name1=Sticker&receiver_email=payments@z22se.co.uk&payment_fee=&quantity1=1&receiver_id=X4A8G62XPTLFS&txn_type=cart&mc_gross_1=2.00&mc_currency=GBP&residence_country=GB&transaction_subject=ZmI=&payment_gross=&
2010-08-28 8:13:34 - PP_STANDARD :: IPN REQ  --> cmd=_notify-validate&mc_gross=2.00&invoice=11+-+John+Needs&protection_eligibility=Partially+Eligible+-+INR+Only&address_status=unconfirmed&item_number1=Sticker&payer_id=4GFTKC8JCWHD6&tax=0.00&address_street=3+Fussells+Buildings%0D%0AWhiteway+Road&payment_date=01%3A13%3A25+Aug+28%2C+2010+PDT&payment_status=Completed&charset=windows-1252&address_zip=BS57QY&mc_shipping=0.00&mc_handling=0.00&first_name=John&mc_fee=0.27&address_country_code=GB&address_name=John+Needs&notify_version=3.0&custom=ZmI%3D&payer_status=verified&business=payments%40z22se.co.uk&address_country=United+Kingdom&num_cart_items=1&mc_handling1=0.00&address_city=Bristol&verify_sign=ADOB7iRmUObbsUeGo8OYyLBCP4.gA4K5.xtjvZO1xEzOIwdSIqQP5lTe&payer_email=jjnceb%40hotmail.co.uk&mc_shipping1=0.00&contact_phone=&txn_id=81U29524MG788253L&payment_type=instant&last_name=Needs&address_state=&item_name1=Sticker&receiver_email=payments%40z22se.co.uk&payment_fee=&quantity1=1&receiver_id=X4A8G62XPTLFS&txn_type=cart&mc_gross_1=2.00&mc_currency=GBP&residence_country=GB&transaction_subject=ZmI%3D&payment_gross=
2010-08-28 8:13:34 - PP_STANDARD :: IPN RESP <-- 
Again, his payment went though, but I got 3 e-mails for this saying manual verification required.

Everything looks to be set up OK
PayPal.PNG

PayPal.PNG (22.64 KiB) Viewed 2873 times

and I've set paypal up as per the instruction on here for 1.4.9.

This is the same on two shops I've upgraded this morning, both using seperate PayPal accounts.

Even when I remove the PDT code from the shop, and disable it in PayPal, it's still trying to use it.

Any help or advise would be greatly appreciated.

Thanks,
Matt

Image


User avatar
New member

Posts

Joined
Sat Aug 28, 2010 11:37 am
Location - Sheffield

Post by Qphoria » Sat Aug 28, 2010 10:44 pm

This is the issue:

Code: Select all

 PHP Warning:  file_get_contents() [<a href='function.file-get-contents'>function.file-get-contents</a>]: Unable to find the wrapper "https" - did you forget to enable it when you configured PHP?
It looks like your webhost doesn't support https. Contact your host and ask them to fix it

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by MattW » Sun Aug 29, 2010 12:50 am

Qphoria wrote:This is the issue:

Code: Select all

 PHP Warning:  file_get_contents() [<a href='function.file-get-contents'>function.file-get-contents</a>]: Unable to find the wrapper "https" - did you forget to enable it when you configured PHP?
It looks like your webhost doesn't support https. Contact your host and ask them to fix it
That error was on the second shop which doesn't have SSL endabled yet (still need to purchase SSL certificate). That error has only happend once, and I've done 6 test purchases with PayPal.

The first shop from the first post has dedicated IP and it's own SSL certificate installed (I'm the host as well, running on VPS).

Both have an empty IPN response in the error logs

Code: Select all

2010-08-28 12:56:21 - PP_STANDARD :: IPN INIT <-- DEBUG POST VARS::mc_gross=0.50&invoice=8 - Matt Worthington&protection_eligibility=Eligible&address_status=confirmed&item_number1=Test Product&payer_id=X4A8G62XPTLFS&tax=0.00&address_street=143 Smalldale Road&payment_date=05:56:16 Aug 28, 2010 PDT&payment_status=Completed&charset=windows-1252&address_zip=S12 4YE&mc_shipping=0.00&mc_handling=0.00&first_name=Matt&mc_fee=0.22&address_country_code=GB&address_name=Matt Worthington&notify_version=3.0&custom=bQ==&payer_status=verified&business=payments@pure-enough.co.uk&address_country=United Kingdom&num_cart_items=1&mc_handling1=0.00&address_city=Sheffield&verify_sign=A0asK6oiIZmtBFrRCq-Iiqf8lrk.ApKerZ4rUFY9WAW.UbpDGDCXke9f&payer_email=payments@z22se.co.uk&mc_shipping1=0.00&txn_id=7U174031C9038203T&payment_type=instant&payer_business_name=www.z22se.co.uk&last_name=Worthington&address_state=South Yorkshire&item_name1=Test Product&receiver_email=payments@pure-enough.co.uk&payment_fee=&quantity1=1&receiver_id=8H2SQPZK6YSA6&txn_type=cart&mc_gross_1=0.50&mc_currency=GBP&residence_country=GB&transaction_subject=bQ==&payment_gross=&
2010-08-28 12:56:21 - PP_STANDARD :: IPN REQ  --> cmd=_notify-validate&mc_gross=0.50&invoice=8+-+Matt+Worthington&protection_eligibility=Eligible&address_status=confirmed&item_number1=Test+Product&payer_id=X4A8G62XPTLFS&tax=0.00&address_street=143+Smalldale+Road&payment_date=05%3A56%3A16+Aug+28%2C+2010+PDT&payment_status=Completed&charset=windows-1252&address_zip=S12+4YE&mc_shipping=0.00&mc_handling=0.00&first_name=Matt&mc_fee=0.22&address_country_code=GB&address_name=Matt+Worthington&notify_version=3.0&custom=bQ%3D%3D&payer_status=verified&business=payments%40pure-enough.co.uk&address_country=United+Kingdom&num_cart_items=1&mc_handling1=0.00&address_city=Sheffield&verify_sign=A0asK6oiIZmtBFrRCq-Iiqf8lrk.ApKerZ4rUFY9WAW.UbpDGDCXke9f&payer_email=payments%40z22se.co.uk&mc_shipping1=0.00&txn_id=7U174031C9038203T&payment_type=instant&payer_business_name=www.z22se.co.uk&last_name=Worthington&address_state=South+Yorkshire&item_name1=Test+Product&receiver_email=payments%40pure-enough.co.uk&payment_fee=&quantity1=1&receiver_id=8H2SQPZK6YSA6&txn_type=cart&mc_gross_1=0.50&mc_currency=GBP&residence_country=GB&transaction_subject=bQ%3D%3D&payment_gross=
2010-08-28 12:56:21 - PP_STANDARD :: IPN RESP <-- 
2010-08-28 12:56:24 - PP_STANDARD :: PDT INIT <-- DEBUG GET VARS::route=payment/pp_standard/pdt&tx=7U174031C9038203T&st=Completed&amt=0.50&cc=GBP&cm=bQ==&item_number=&

Image


User avatar
New member

Posts

Joined
Sat Aug 28, 2010 11:37 am
Location - Sheffield

Post by MattW » Sun Aug 29, 2010 1:25 am

After a bit of digging, it looks like I had curl with no https installed (only installed curl this morning when I upgraded to 1.4.9)

Code: Select all

Registered PHP Streams => compress.zlib, php, file, glob, data, http, ftp 
Curl.PNG

Curl.PNG (21.91 KiB) Viewed 2848 times

I've just recomplied php to use curl and curlssl, and will do some more testing tonight

Code: Select all

Registered PHP Streams => compress.zlib, dict, ftp, ftps, http, https, imap, imaps, pop3, pop3s, rtsp, smtp, smtps, telnet, tftp, php, file, glob, data
Curl2.PNG

Curl2.PNG (22.8 KiB) Viewed 2848 times


Image


User avatar
New member

Posts

Joined
Sat Aug 28, 2010 11:37 am
Location - Sheffield

Post by MattW » Sun Aug 29, 2010 1:29 am

That's got it! :D

Code: Select all

2010-08-28 17:27:41 - PP_STANDARD :: IPN INIT <-- DEBUG POST VARS::mc_gross=0.50&invoice=10 - Matt Worthington&protection_eligibility=Eligible&address_status=confirmed&item_number1=Test Product&payer_id=X4A8G62XPTLFS&tax=0.00&address_street=143 Smalldale Road&payment_date=10:27:33 Aug 28, 2010 PDT&payment_status=Completed&charset=windows-1252&address_zip=S12 4YE&mc_shipping=0.00&mc_handling=0.00&first_name=Matt&mc_fee=0.22&address_country_code=GB&address_name=Matt Worthington&notify_version=3.0&custom=ZmE=&payer_status=verified&business=payments@pure-enough.co.uk&address_country=United Kingdom&num_cart_items=1&mc_handling1=0.00&address_city=Sheffield&verify_sign=AI36sk2Aln3iC.t.mla1wMizPRcQAU-gzHFcT7rsaJww0hK27TsGjP3l&payer_email=payments@z22se.co.uk&mc_shipping1=0.00&contact_phone=&txn_id=5HW80176R38397403&payment_type=instant&payer_business_name=www.z22se.co.uk&last_name=Worthington&address_state=South Yorkshire&item_name1=Test Product&receiver_email=payments@pure-enough.co.uk&payment_fee=&quantity1=1&receiver_id=8H2SQPZK6YSA6&txn_type=cart&mc_gross_1=0.50&mc_currency=GBP&residence_country=GB&transaction_subject=ZmE=&payment_gross=&
2010-08-28 17:27:43 - PP_STANDARD :: IPN REQ  --> cmd=_notify-validate&mc_gross=0.50&invoice=10+-+Matt+Worthington&protection_eligibility=Eligible&address_status=confirmed&item_number1=Test+Product&payer_id=X4A8G62XPTLFS&tax=0.00&address_street=143+Smalldale+Road&payment_date=10%3A27%3A33+Aug+28%2C+2010+PDT&payment_status=Completed&charset=windows-1252&address_zip=S12+4YE&mc_shipping=0.00&mc_handling=0.00&first_name=Matt&mc_fee=0.22&address_country_code=GB&address_name=Matt+Worthington&notify_version=3.0&custom=ZmE%3D&payer_status=verified&business=payments%40pure-enough.co.uk&address_country=United+Kingdom&num_cart_items=1&mc_handling1=0.00&address_city=Sheffield&verify_sign=AI36sk2Aln3iC.t.mla1wMizPRcQAU-gzHFcT7rsaJww0hK27TsGjP3l&payer_email=payments%40z22se.co.uk&mc_shipping1=0.00&contact_phone=&txn_id=5HW80176R38397403&payment_type=instant&payer_business_name=www.z22se.co.uk&last_name=Worthington&address_state=South+Yorkshire&item_name1=Test+Product&receiver_email=payments%40pure-enough.co.uk&payment_fee=&quantity1=1&receiver_id=8H2SQPZK6YSA6&txn_type=cart&mc_gross_1=0.50&mc_currency=GBP&residence_country=GB&transaction_subject=ZmE%3D&payment_gross=
2010-08-28 17:27:43 - PP_STANDARD :: IPN RESP <-- VERIFIED
2010-08-28 17:27:45 - PP_STANDARD :: PDT INIT <-- DEBUG GET VARS::route=payment/pp_standard/pdt&tx=5HW80176R38397403&st=Completed&amt=0.50&cc=GBP&cm=ZmE=&item_number=&

Image


User avatar
New member

Posts

Joined
Sat Aug 28, 2010 11:37 am
Location - Sheffield

Post by jcr66 » Sun Aug 29, 2010 3:58 am

Hi Matt you tried to help me before on another thread and now ive looked at this thread I can see where the pdt token goes , but on my opencart paypal standard it does not say paypal standard just paypal so the boxes for PDT TOKEN AND SANDBOX are missing?
I had 3 options to instal from in opencart 1 PayPal Website Payment Pro 2 PayPal Website Payment Pro (UK) 3 PayPal which is the one I installed for standard. I know im missing something simple hear any help apprciated.
Jim

Newbie

Posts

Joined
Sun Aug 29, 2010 12:33 am

Post by MattW » Sun Aug 29, 2010 4:06 am

Have you updated to 1.4.9?

This is what I have listed in my Extensions --> Payments section.
PayPal Standard.PNG

PayPal Standard.PNG (20.09 KiB) Viewed 2835 times


Image


User avatar
New member

Posts

Joined
Sat Aug 28, 2010 11:37 am
Location - Sheffield

Post by Qphoria » Sun Aug 29, 2010 4:07 am

jcr66 wrote:Hi Matt you tried to help me before on another thread and now ive looked at this thread I can see where the pdt token goes , but on my opencart paypal standard it does not say paypal standard just paypal so the boxes for PDT TOKEN AND SANDBOX are missing?
I had 3 options to instal from in opencart 1 PayPal Website Payment Pro 2 PayPal Website Payment Pro (UK) 3 PayPal which is the one I installed for standard. I know im missing something simple hear any help apprciated.
Jim
To have the new options, you need to be using 1.4.9 or have installed the new version of paypal here for 1.4.8b
http://forum.opencart.com/viewtopic.php?f=2&t=17855

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by jcr66 » Sun Aug 29, 2010 4:56 am

Thanks Qphoria

I have 1.4.8 installed and dowloaded 1.4.9 to my desktop I have then uploaded only the new pp_standard.php file to /public_html/admin/controller/payment .
In the opencart payment section it still only gives me the original 3 options paypal standard does not show.
Any help appreciated
Thanks
Jim

Newbie

Posts

Joined
Sun Aug 29, 2010 12:33 am

Post by LumenJunkies » Wed Sep 01, 2010 6:15 am

What option is there for those of us that wont ever have SSL?

Newbie

Posts

Joined
Mon Nov 30, 2009 5:47 am
Who is online

Users browsing this forum: No registered users and 8 guests