[TYPO3-commerce] paypal2commerce

Karsten P webdesign.karsten at gmail.com
Thu Apr 29 21:36:11 CEST 2010


Hi

Here is the headere and generator from firefox.


Generator:
#request# POST http://shop-template:8888/index.php?id=33
POST /index.php?id=33 
tx_commerce_pi3%5Bstep%5D=finish&tx_commerce_pi3%5Bterms%5D=termschecked&tx_commerce_pi3%5Bcomment%5D=
#request# GET http://shop-template:8888/index.php?id=41
#redirect# GET /index.php?id=41
#request# GET http://shop-template:8888/typo3temp/stylesheet_822b3206cd.css
#request# GET 
http://shop-template:8888/typo3conf/ext/commerce/res/css/commerce.css
#request# GET http://shop-template:8888/typo3temp/javascript_0b12553063.js
#request# GET http://shop-template:8888/fileadmin/templates/main_css.css
#request# GET http://shop-template:8888/fileadmin/templates/commerce.css
#request# GET http://shop-template:8888/fileadmin/templates/javascript.js
#request# GET 
http://shop-template:8888/typo3conf/ext/perfectlightbox/res/css/slightbox.css
#request# GET 
http://shop-template:8888/typo3conf/ext/perfectlightbox/res/js/prototype-packed.js
#request# GET 
http://shop-template:8888/typo3conf/ext/perfectlightbox/res/js/scriptaculousEffects-packed.js?load=effects
#request# GET 
http://shop-template:8888/typo3conf/ext/perfectlightbox/res/js/lightbox-packed.js
GET 
/typo3conf/ext/perfectlightbox/res/js/scriptaculousEffects-packed.js?load=effects
#request# GET 
http://shop-template:8888/typo3/sysext/t3skin/extjs/images/panel/tool-sprites.gif
#request# GET 
http://shop-template:8888/typo3/sysext/t3skin/extjs/images/panel/white-top-bottom.gif
GET /typo3/sysext/t3skin/extjs/images/panel/tool-sprites.gif
GET /typo3/sysext/t3skin/extjs/images/panel/white-top-bottom.gif

Header:

http://shop-template:8888/index.php?id=33
POST /index.php?id=33 HTTP/1.1
Host: shop-template:8888
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; da; 
rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: da,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: http://shop-template:8888/index.php?id=33
Cookie: be_typo_user=9cd09a048dce24b8e66f58f166445c47; 
fe_typo_user=2a228bc9b609ee3c5736b5add54e4362; admPanelPosX=0; 
admPanelPosY=572; tx_phpmyadmin=6a4ef48dd5656593be39984a28562813
Content-Type: application/x-www-form-urlencoded
Content-Length: 102
tx_commerce_pi3%5Bstep%5D=finish&tx_commerce_pi3%5Bterms%5D=termschecked&tx_commerce_pi3%5Bcomment%5D=
HTTP/1.1 302 Found
Date: Thu, 29 Apr 2010 19:27:20 GMT
Server: Apache
X-Powered-By: PHP/5.2.5
Set-Cookie: be_typo_user=cb8399dfb1ae6c4a43ad48bae04c7b3a; path=/
Expires: 0
Last-Modified: Thu, 29 Apr 2010 19:27:20 GMT
Cache-Control: no-cache, must-revalidate
Pragma: no-cache
Location: http://shop-template:8888/index.php?id=41
Content-Length: 0
Keep-Alive: timeout=15, max=98
Connection: Keep-Alive
Content-Type: text/html

----------------------------------------------------------

http://shop-template:8888/index.php?id=41

GET /index.php?id=41 HTTP/1.1
Host: shop-template:8888
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; da; 
rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: da,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: http://shop-template:8888/index.php?id=33
Cookie: be_typo_user=cb8399dfb1ae6c4a43ad48bae04c7b3a; 
fe_typo_user=2a228bc9b609ee3c5736b5add54e4362; admPanelPosX=0; 
admPanelPosY=572; tx_phpmyadmin=6a4ef48dd5656593be39984a28562813
If-Modified-Since: Thu, 29 Apr 2010 16:45:23 GMT
HTTP/1.1 200 OK
Date: Thu, 29 Apr 2010 19:27:20 GMT
Server: Apache
X-Powered-By: PHP/5.2.5
Set-Cookie: be_typo_user=4186bda0e631abbbe5feacb5985453ce; path=/

Expires: 0
Last-Modified: Thu, 29 Apr 2010 19:27:20 GMT
Cache-Control: no-cache, must-revalidate
Pragma: no-cache
Content-Length: 5869
Keep-Alive: timeout=15, max=98
Connection: Keep-Alive
Content-Type: text/html
----------------------------------------------------------

http://shop-template:8888/typo3conf/ext/perfectlightbox/res/js/scriptaculousEffects-packed.js?load=effects
GET 
/typo3conf/ext/perfectlightbox/res/js/scriptaculousEffects-packed.js?load=effects 
HTTP/1.1
Host: shop-template:8888
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; da; 
rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Accept: */*
Accept-Language: da,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: http://shop-template:8888/index.php?id=41
Cookie: be_typo_user=4186bda0e631abbbe5feacb5985453ce; 
fe_typo_user=2a228bc9b609ee3c5736b5add54e4362; admPanelPosX=0; 
admPanelPosY=572; tx_phpmyadmin=6a4ef48dd5656593be39984a28562813
If-Modified-Since: Sat, 20 Feb 2010 20:59:00 GMT
If-None-Match: "1093578-3d0b-781e6d00"

HTTP/1.1 304 Not Modified
Date: Thu, 29 Apr 2010 19:27:21 GMT
Server: Apache
Connection: Keep-Alive
Keep-Alive: timeout=15, max=92
Etag: "1093578-3d0b-781e6d00"

----------------------------------------------------------



Karsten P skrev:
> I did it with sandbox, and did not change the url!
> 
> Curl tested and working!
> 
> Commerce: SVN
> Typo3: 4.3.3
> 
> I try the plugin for firefox, and come back later...
> 
> Thanks for the fast reply!
> 
> Karsten
> 
> Martin Holtz skrev:
>> Hi Karsten,
>>
>>> When i try to checkout in the final step, it takes me straight to the
>>> error page, insted of taking me to paypal...?
>>>
>>> I have tried almost anything, i think ;-)
>>>
>>> I gone tru this:
>>> http://wiki.typo3.org/index.php/Extensions/paypal2commerce/manual
>>> Patch:
>>> http://forge.typo3.org/attachments/1838/paypal2commerce.diff
>>>
>>> But i get no error's , other than it takes me to the error page, and it
>>> takes me there instantly....
>>>
>>> Any suggestions...?
>> Did you tried with the sandbox or did you change the url?
>> Did you check the CURL-Testscript inside that extension?
>>
>> You know livehttpheaders plugin for firefox? Can you try to find out
>> which parameters are sent when?
>>
>> Which version do you use? commerce / TYPO3?
>>
>> martin
>>


More information about the TYPO3-project-commerce mailing list