Advertisement
Guest User

Untitled

a guest
Nov 30th, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.23 KB | None | 0 0
  1. PHP 5.3.17
  2. Apache 2.2.29
  3. MySQL Ver 14.14 Distrib 5.5.33
  4. OpenSSL 1.0.1j
  5.  
  6. 2016-09-26T07:09:59+00:00 DEBUG (7): Array (
  7. [ipn] => Array
  8. (
  9. [address_city] => XXX
  10. [address_country] => XXX
  11. [address_country_code] => XX
  12. [address_name] => XXX XXX
  13. [address_state] => XX
  14. [address_status] => unconfirmed
  15. [address_street] => XXXXX
  16. [address_zip] => XXX
  17. [business] => XXX@XXX.it
  18. [charset] => windows-1252
  19. [custom] =>
  20. [first_name] => XXX
  21. [handling_amount] => 0.00
  22. [invoice] => XXXXX
  23. [ipn_track_id] => XXXXX
  24. [item_name] =>
  25. [item_number] =>
  26. [last_name] => XXXX
  27. [mc_currency] => EUR
  28. [mc_fee] => 4.06
  29. [mc_gross] => 148.34
  30. [notify_version] => 3.8
  31. [payer_email] => XXXX.XXXX@gmail.com
  32. [payer_id] => XXXX
  33. [payer_status] => unverified
  34. [payment_date] => 12:49:56 Sep 25, 2016 PDT
  35. [payment_fee] =>
  36. [payment_gross] =>
  37. [payment_status] => Completed
  38. [payment_type] => instant
  39. [protection_eligibility] => Eligible
  40. [quantity] => 1
  41. [receipt_id] => XXX-XXX-XXX-XXX
  42. [receiver_email] => XXX@XXX.it
  43. [receiver_id] => XXXXXXXXX
  44. [residence_country] => XX
  45. [shipping] => 0.00
  46. [tax] => 26.75
  47. [transaction_subject] =>
  48. [txn_id] => XXXXXXXXXXXXXXX
  49. [txn_type] => pro_hosted
  50. [verify_sign] => XXXXXXXXXXXX
  51. )
  52.  
  53. [postback] => mc_gross=148.34&invoice=800000925&protection_eligibility=Eligible&address_status=unconfirmed&payer_id=XXXXXX&tax=26.75&address_street=via+Val+Senio+12&payment_date=12%3A49%3A56+Sep+25%2C+2016+PDT&payment_status=Completed&charset=windows-1252&address_zip=XXXXX&first_name=XXX&mc_fee=4.06&address_country_code=XX&address_name=XXXX+XXXX&notify_version=3.8&custom=&payer_status=unverified&business=XXX%XXX.it&address_country=XXXX&address_city=XXX&quantity=1&verify_sign=XXXX-q8BJ&payer_email=XXX.XXX%40gmail.com&txn_id=XXXXXX&payment_type=instant&last_name=XXXX&address_state=XX&receiver_email=XXX%XXX.it&payment_fee=&receiver_id=XXXXX&txn_type=pro_hosted&item_name=&mc_currency=EUR&item_number=&residence_country=XX&receipt_id=2054-6203-1063-6630&handling_amount=0.00&transaction_subject=&payment_gross=&shipping=0.00&ipn_track_id=XXXXXXX&cmd=_notify-validate
  54. [postback_to] => https://www.paypal.com/cgi-bin/webscr
  55. [postback_result] =>
  56. [exception] => PayPal IPN postback failure. See paypal_unknown_ipn.log for details.
  57. [__pid] => 6037 )
  58.  
  59. [postback_result] => HTTP/1.1 403 Forbidden
  60. Server: AkamaiGHost
  61. Mime-Version: 1.0
  62. Content-Type: text/html
  63. Content-Length: 344
  64. Expires: Tue, 04 Oct 2016 07:28:17 GMT
  65. Date: Tue, 04 Oct 2016 07:28:17 GMT
  66. Connection: close
  67. Strict-Transport-Security: max-age=63072000
  68.  
  69. <HTML><HEAD>
  70. <TITLE>Access Denied</TITLE>
  71. </HEAD><BODY>
  72. <H1>Access Denied</H1>
  73.  
  74. You don't have permission to access "&#47;D&#47;3694&#47;113982&#47;000&#47;new&#45;origin&#45;www&#46;paypal&#46;com&#46;akadns&#46;net&#47;cgi&#45;bin&#47;webscr" on this server.<P>
  75. Reference&#32;&#35;18&#46;6bf01202&#46;1475566097&#46;4788ea27
  76. </BODY>
  77. </HTML>
  78.  
  79. * upload completely sent off: 1005 out of 1005 bytes
  80. < HTTP/1.1 403 Forbidden
  81. < Server: AkamaiGHost
  82. < Mime-Version: 1.0
  83. < Content-Type: text/html
  84. < Content-Length: 344
  85. < Expires: Thu, 06 Oct 2016 13:33:22 GMT
  86. < Date: Thu, 06 Oct 2016 13:33:22 GMT
  87. < Connection: close
  88. < Strict-Transport-Security: max-age=63072000
  89. <
  90. * Closing connection #0
  91. * About to connect() to www.paypal.com port 443 (#0)
  92. * Trying 23.223.77.167...
  93. * connected
  94. * Connected to www.paypal.com (23.223.77.167) port 443 (#0)
  95. * successfully set certificate verify locations:
  96. * CAfile: none
  97. CApath: /etc/ssl/certs/
  98. * SSL connection using ECDHE-RSA-AES256-SHA
  99. * Server certificate:
  100. * subject: C=CA; ST=Ontario; L=Toronto; 1.3.6.1.4.1.311.60.2.1.3=CA; O=The Bank of Nova Scotia; businessCategory=Private Organization; serialNumber=1145427846; CN=see.sbi.com.mx
  101. * start date: 2015-04-22 13:15:17 GMT
  102. * expire date: 2017-04-23 01:28:40 GMT
  103. * issuer: C=US; O=Entrust, Inc.; OU=See www.entrust.net/legal-terms; OU=(c) 2014 Entrust, Inc. - for authorized use only; CN=Entrust Certification Authority - L1M
  104. * SSL certificate verify ok.
  105. > POST /cgi-bin/webscr HTTP/1.1
  106. Host: www.paypal.com
  107. Accept: */*
  108. Connection: close
  109. Content-Length: 1005
  110. Content-Type: application/x-www-form-urlencoded
  111.  
  112. * upload completely sent off: 1005 out of 1005 bytes
  113. < HTTP/1.1 403 Forbidden
  114. < Server: AkamaiGHost
  115. < Mime-Version: 1.0
  116. < Content-Type: text/html
  117. < Content-Length: 344
  118. < Expires: Thu, 06 Oct 2016 14:16:04 GMT
  119. < Date: Thu, 06 Oct 2016 14:16:04 GMT
  120. < Connection: close
  121. < Strict-Transport-Security: max-age=63072000
  122. <
  123.  
  124. * About to connect() to www.paypal.com port 443 (#0)
  125. * Trying 23.223.77.167...
  126. * connected
  127. * Connected to www.paypal.com (23.223.77.167) port 443 (#0)
  128. * successfully set certificate verify locations:
  129. * CAfile: none CApath: /etc/ssl/certs/
  130. * error:14077458:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 unrecognized name
  131. * Closing connection #0
  132.  
  133. > < HTTP/1.1 500 Internal Server Error < Date: Wed, 12 Oct 2016 10:59:18
  134. > GMT < Server: Apache/2.2.29 (Linux/SUSE) < Vary:
  135. > accept-language,accept-charset < Accept-Ranges: bytes < Connection:
  136. > close < Content-Type: text/html; charset=iso-8859-1 <
  137. > Content-Language: en < X-Pad: avoid browser bug <
  138. > * Closing connection #0
  139. > * About to connect() to api-3t.paypal.com port 443 (#0)
  140. > * Trying 173.0.84.101...
  141. > * connected
  142. > * Connected to api-3t.paypal.com (173.0.84.101) port 443 (#0)
  143. > * successfully set certificate verify locations:
  144. > * CAfile: none CApath: /etc/ssl/certs/
  145. > * SSL connection using AES256-SHA256
  146. > * Server certificate:
  147. > * subject: C=US; ST=California; L=San Jose; O=PayPal, Inc.; OU=PayPal Production; CN=api-3t.paypal.com
  148. > * start date: 2015-09-11 00:00:00 GMT
  149. > * expire date: 2017-09-10 23:59:59 GMT
  150. > * issuer: C=US; O=Symantec Corporation; OU=Symantec Trust Network; CN=Symantec Class 3 Secure Server CA - G4
  151. > * SSL certificate verify ok.
  152. > > POST /nvp HTTP/1.1 Host: api-3t.paypal.com Accept: */* Content-Length: 1675 Content-Type: application/x-www-form-urlencoded
  153. > Expect: 100-continue
  154.  
  155. /**
  156. * Post back to PayPal to check whether this request is a valid one
  157. *
  158. * @param Zend_Http_Client_Adapter_Interface $httpAdapter
  159. */
  160. protected function _postBack(Zend_Http_Client_Adapter_Interface $httpAdapter)
  161. {
  162. $sReq = '';
  163. foreach ($this->_request as $k => $v) {
  164. $sReq .= '&'.$k.'='.urlencode($v);
  165. }
  166. $sReq .= "&cmd=_notify-validate";
  167. $sReq = substr($sReq, 1);
  168. $this->_debugData['postback'] = $sReq;
  169. $this->_debugData['postback_to'] = $this->_config->getPaypalUrl();
  170.  
  171. $httpAdapter->setConfig(array('verifypeer' => $this->_config->verifyPeer));
  172.  
  173. Mage::log("CURL_SSLVERSION_TLSv1_2");
  174. $httpAdapter->addOption(CURLOPT_SSLVERSION,6);//CURL_SSLVERSION_TLSv1_2
  175.  
  176. $httpAdapter->write(Zend_Http_Client::POST, $this->_config->getPaypalUrl(), '1.1', array(
  177. 'Connection: close', 'User-Agent: MASCAGNICASA'
  178. ), $sReq);
  179.  
  180. openssl s_client -connect sha2-test-api.sandbox.paypal.com:443
  181.  
  182. CONNECTED(00000003)
  183. depth=1 C = US, O = Symantec Corporation, OU = Symantec Trust Network, CN = Symantec Class 3 Secure Server CA - G4
  184. verify error:num=20:unable to get local issuer certificate
  185. verify return:0
  186. ---
  187. Certificate chain
  188. 0 s:/C=US/ST=California/L=San Jose/O=PayPal, Inc./OU=PayPal Production/CN=SHA2-test-api.sandbox.paypal.com
  189. i:/C=US/O=Symantec Corporation/OU=Symantec Trust Network/CN=Symantec Class 3 Secure Server CA - G4
  190. 1 s:/C=US/O=Symantec Corporation/OU=Symantec Trust Network/CN=Symantec Class 3 Secure Server CA - G4
  191. i:/C=US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=(c) 2006 VeriSign, Inc. - For authorized use only/CN=VeriSign Class 3 Public Primary Certification Authority - G5
  192. ---
  193. Server certificate
  194. -----BEGIN CERTIFICATE-----
  195. MIIGlTCCBX2gAwIBAgIQIr0zjsjG4wEyE7U6/TbdkjANBgkqhkiG9w0BAQsFADB+
  196. MQswCQYDVQQGEwJVUzEdMBsGA1UEChMUU3ltYW50ZWMgQ29ycG9yYXRpb24xHzAd
  197. BgNVBAsTFlN5bWFudGVjIFRydXN0IE5ldHdvcmsxLzAtBgNVBAMTJlN5bWFudGVj
  198. IENsYXNzIDMgU2VjdXJlIFNlcnZlciBDQSAtIEc0MB4XDTE2MDUyNDAwMDAwMFoX
  199. DTE4MDUyNTIzNTk1OVowgZMxCzAJBgNVBAYTAlVTMRMwEQYDVQQIDApDYWxpZm9y
  200. bmlhMREwDwYDVQQHDAhTYW4gSm9zZTEVMBMGA1UECgwMUGF5UGFsLCBJbmMuMRow
  201. GAYDVQQLDBFQYXlQYWwgUHJvZHVjdGlvbjEpMCcGA1UEAwwgU0hBMi10ZXN0LWFw
  202. aS5zYW5kYm94LnBheXBhbC5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK
  203. AoIBAQChdpp8j/yvoeq2pwzn5Aq9SV2NccS0daaiNe+QpZB1/Bj05TAco8XYm6GQ
  204. /JG3XAnA9Unf0m4UveU59Q3lU8NzzPSo8rjuUOyMkfbzxitk1RIY97+x2pEtI8P9
  205. q9D0qZ+fXdZXLmjx7gzZCDdiP6N6lcqIeXUFl6KGKkR24Q7JGS5m4dKSBfMcWfmD
  206. iJoXvJmdhijbB02656AJRaoSamoF40dKzBldBVsK92U2PHvtmuUhujuxKT5l/5r9
  207. sAYe5cf9yqUquZKIdHak9HtDUaWzYvOd2JNyB9gT1gMuZt05QevW/FnOlPGsbXyH
  208. A0xrBIHVq0Ov+MUEgNCQSbqe8W6vAgMBAAGjggL3MIIC8zArBgNVHREEJDAigiBT
  209. SEEyLXRlc3QtYXBpLnNhbmRib3gucGF5cGFsLmNvbTAJBgNVHRMEAjAAMA4GA1Ud
  210. DwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwYQYDVR0g
  211. BFowWDBWBgZngQwBAgIwTDAjBggrBgEFBQcCARYXaHR0cHM6Ly9kLnN5bWNiLmNv
  212. bS9jcHMwJQYIKwYBBQUHAgIwGQwXaHR0cHM6Ly9kLnN5bWNiLmNvbS9ycGEwHwYD
  213. VR0jBBgwFoAUX2DPYZBV34RDFIpgKrL1evRDGO8wKwYDVR0fBCQwIjAgoB6gHIYa
  214. aHR0cDovL3NzLnN5bWNiLmNvbS9zcy5jcmwwVwYIKwYBBQUHAQEESzBJMB8GCCsG
  215. AQUFBzABhhNodHRwOi8vc3Muc3ltY2QuY29tMCYGCCsGAQUFBzAChhpodHRwOi8v
  216. c3Muc3ltY2IuY29tL3NzLmNydDCCAX4GCisGAQQB1nkCBAIEggFuBIIBagFoAHYA
  217. 3esdK3oNT6Ygi4GtgWhwfi6OnQHVXIiNPRHEzbbsvswAAAFU5OcJuAAABAMARzBF
  218. AiAv8/b/8Yyg6BY/DkcOW8Xgd3WUmhPK/HxLf9P8bhmWuQIhAKNBgdZY/NUZx8ww
  219. cbba4YUBYUDoGsHCuhpYQAIY3JbxAHYApLkJkLQYWBSHuxOizGdwCjw1mAT5G9+4
  220. 43fNDsgN3BAAAAFU5OcJ0QAABAMARzBFAiEA6cnZYJ9ls2APmlAeGt7+3DYW4vNZ
  221. 8ZNsNsGp/LB9RfQCIDMq4bggIGo/u2tCxhkxUUbpj9MCfqueVnGPIIIYQctqAHYA
  222. aPaY+B9kgr46jO65KB1M/HFRXWeT1ETRCmesu09P+8QAAAFU5OcJ1gAABAMARzBF
  223. AiALMmnEbKWb36JmSovA+StKTRqNbBAY6VqlqrnSru4xNAIhANX/puYyAD+CQ7ca
  224. VX0KpvQSVzMpcNXJ1F8fjk0FOn2CMA0GCSqGSIb3DQEBCwUAA4IBAQCUowT7fC4O
  225. LEBWIabeaWwAY1/Ju9ek3khwDpDUHSaPHlpO0L0pVv8zLNoNn1TRdXKPYGpiHTl6
  226. EODCZU1FSCPBSDfEuLSkzH/b6OI7Y208wu5ztdIo+YSjDrB0fa2p85o5S9tyUsh7
  227. PsmX6SwqdxzrCFUnZbYJN7wBcJc6L3tjF/9v4sdy9cWgTjJaYueP1/9aJO8qewRO
  228. QQRgjr1vRM05ZPhw4AvdXPO4BRNhgQZ3M8qeZ07GjLO2AQBah0cBLUJTPyW0LGnU
  229. sAZdNJlakJfuLq3Dbm0VFU5vLmfqVHtfjuBpZiHXwUWIoXBucSMIMs3mRJ8wF0ID
  230. fqq/pgusdsTi
  231. -----END CERTIFICATE-----
  232. subject=/C=US/ST=California/L=San Jose/O=PayPal, Inc./OU=PayPal Production/CN=SHA2-test-api.sandbox.paypal.com
  233. issuer=/C=US/O=Symantec Corporation/OU=Symantec Trust Network/CN=Symantec Class 3 Secure Server CA - G4
  234. ---
  235. Acceptable client certificate CA names
  236. /C=US/ST=California/L=San Jose/O=PayPal, Inc./OU=sandbox_certs/CN=sandbox_camerchapi/emailAddress=re@paypal.com
  237. /C=US/ST=California/L=San Jose/O=PayPal, Inc./OU=stage1_certs/CN=stage1_camerchapi/emailAddress=re@paypal.com
  238. /C=US/ST=CA/L=San Jose/O=PayPal Inc./OU=Mobile Client Certificate Authority/CN=PayPal Sandbox Client CA/emailAddress=DL-PP-ApplicationSecurity@paypal.com
  239. /CN=gtorel_1310486522_per_api1.paypal.com/L=Napoli/ST=Napoli/C=IT
  240. /CN=Sandbox_RootCA/OU=PayPal Crypto Mgt/O=PayPal Inc./L=San Jose/ST=California/C=US
  241. /CN=Sandbox_MerchantIssuingCA/OU=Platform Security/O=PayPal Inc./L=San Jose/ST=California/C=US
  242. ---
  243. SSL handshake has read 4176 bytes and written 675 bytes
  244. ---
  245. New, TLSv1/SSLv3, Cipher is AES256-SHA256
  246. Server public key is 2048 bit
  247. Secure Renegotiation IS supported
  248. Compression: NONE
  249. Expansion: NONE
  250. SSL-Session:
  251. Protocol : TLSv1.2
  252. Cipher : AES256-SHA256
  253. Session-ID: 9E01CD86FA9F510BAD505F17E34C0C9BE824E9A1EE8047E8F2946F8857418F29
  254. Session-ID-ctx:
  255. Master-Key: 20C14118364A3F10503EF4432DE01C382A2F3EF782940DACE906D2294AE7904B44CA04071AA51CCA362D90598D12096C
  256. Key-Arg : None
  257. PSK identity: None
  258. PSK identity hint: None
  259. SRP username: None
  260. Start Time: 1476437590
  261. Timeout : 300 (sec)
  262. Verify return code: 20 (unable to get local issuer certificate)
  263. ---
  264.  
  265. curl -I -v https://api-3t.paypal.com/nvp
  266. * About to connect() to api-3t.paypal.com port 443 (#0)
  267. * Trying 173.0.84.101...
  268. * connected
  269. * Connected to api-3t.paypal.com (173.0.84.101) port 443 (#0)
  270. * successfully set certificate verify locations:
  271. * CAfile: none
  272. CApath: /etc/ssl/certs/
  273. * SSLv3, TLS handshake, Client hello (1):
  274. * SSLv3, TLS handshake, Server hello (2):
  275. * SSLv3, TLS handshake, CERT (11):
  276. * SSLv3, TLS handshake, Server finished (14):
  277. * SSLv3, TLS handshake, Client key exchange (16):
  278. * SSLv3, TLS change cipher, Client hello (1):
  279. * SSLv3, TLS handshake, Finished (20):
  280. * SSLv3, TLS change cipher, Client hello (1):
  281. * SSLv3, TLS handshake, Finished (20):
  282. * SSL connection using AES256-SHA256
  283. * Server certificate:
  284. * subject: C=US; ST=California; L=San Jose; O=PayPal, Inc.; OU=PayPal Production; CN=api-3t.paypal.com
  285. * start date: 2015-09-11 00:00:00 GMT
  286. * expire date: 2017-09-10 23:59:59 GMT
  287. * subjectAltName: api-3t.paypal.com matched
  288. * issuer: C=US; O=Symantec Corporation; OU=Symantec Trust Network; CN=Symantec Class 3 Secure Server CA - G4
  289. * SSL certificate verify ok.
  290. > HEAD /nvp HTTP/1.1
  291. > User-Agent: curl/7.28.1
  292. > Host: api-3t.paypal.com
  293. > Accept: */*
  294. >
  295. < HTTP/1.1 200 OK
  296. HTTP/1.1 200 OK
  297. < Date: Fri, 14 Oct 2016 11:06:54 GMT
  298. Date: Fri, 14 Oct 2016 11:06:54 GMT
  299. < Server: Apache
  300. Server: Apache
  301. < Cache-Control: max-age=0, no-cache, no-store, must-revalidate
  302. Cache-Control: max-age=0, no-cache, no-store, must-revalidate
  303. < Pragma: no-cache
  304. Pragma: no-cache
  305. < Connection: close
  306. Connection: close
  307. < HTTP_X_PP_AZ_LOCATOR: slcb.slc
  308. HTTP_X_PP_AZ_LOCATOR: slcb.slc
  309. < Paypal-Debug-Id: 22cf726847da4
  310. Paypal-Debug-Id: 22cf726847da4
  311. < Set-Cookie: X-PP-SILOVER=name%3DLIVE5.APIT.1%26silo_version%3D880%26app%3Dappdispatcher_apit%26TIME%3D1320943704%26HTTP_X_PP_AZ_LOCATOR%3Dslcb.slc; Expires=Fri, 14 Oct 2016 11:36:54 GMT; domain=.paypal.com; path=/; Secure; HttpOnly
  312. Set-Cookie: X-PP-SILOVER=name%3DLIVE5.APIT.1%26silo_version%3D880%26app%3Dappdispatcher_apit%26TIME%3D1320943704%26HTTP_X_PP_AZ_LOCATOR%3Dslcb.slc; Expires=Fri, 14 Oct 2016 11:36:54 GMT; domain=.paypal.com; path=/; Secure; HttpOnly
  313. < Set-Cookie: X-PP-SILOVER=; Expires=Thu, 01 Jan 1970 00:00:01 GMT
  314. Set-Cookie: X-PP-SILOVER=; Expires=Thu, 01 Jan 1970 00:00:01 GMT
  315. < Content-Length: 146
  316. Content-Length: 146
  317. < Cache-Control: max-age=0, no-cache, no-store, must-revalidate
  318. Cache-Control: max-age=0, no-cache, no-store, must-revalidate
  319. < Pragma: no-cache
  320. Pragma: no-cache
  321. < Content-Type: text/plain; charset=utf-8
  322. Content-Type: text/plain; charset=utf-8
  323.  
  324. <
  325. * Closing connection #0
  326. * SSLv3, TLS alert, Client hello (1):
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement