[TYPO3-shop] Handlescript troubles

Rolf Spall rolfspall at hotmail.com
Sat Jan 19 23:58:59 CET 2008


Hello,
 
I'm now at the point of intergrating some payment into my shop. Now i tried the following to get a hadlescript going:
 
1. I added some lines to my major shop page SETUP. I tried this for example with payment_DIBS.php
 
plugin.tt_products.payment {   radio = 1   10 >   20 >   30 >   40 >   50 >   90.title = I pay with some kind op thing.   90.handleScript = EXT:tt_products/template/pi1/payment_DIBS.php   90.handleScript {      templateFile = EXT:tt_products/template/payment_DIBS_template_uk.tmpl      soloe = false      direct = true      merchant = 4547333      relayURL = 413   }}
 
2. Then i read that i had to add the following line to the template file <input type="hidden" name="products_cmd" value="cardno"> because otherwise the script wouldn't be executed. So i added it to the summary page before the finalize button.
 
3. So now i'm going to try it. I go to my products page. I pick one and then go to my shopping cart (which includes all of the other pages (payment, finalize etc)). I choose my payment method. I go to the summary and then i click on finalize. I hoped to see some page from the payment_DIBS template. But other then that i does go on to the finalize page. And then my cart is empty and the emails are send.
 
I do something wrong i guess or forget something.
 
Can anyone help me to get a step ahead?
 
Thanks in advance,
Rolf
_________________________________________________________________
Jouw nieuws en entertainment, vind je op MSN.nl!
http://nl.msn.com/ 


More information about the TYPO3-project-tt-products mailing list