[TYPO3-shop] Finalize problem and wrong pids

Karsten kap at os.dk
Mon Jul 24 17:41:03 CEST 2006


I cant seem to get the payment_DIBS.php to work
at the same time it seems that its jumping too the wrong pids!
i have this setup.

pid52  basket page -  CODE: BASKET
pid75  cash page - CODE: PAYMENT, FINALIZE, INFO

Constants:
plugin.tt_products.PIDbasket = 52
plugin.tt_products.PIDfinalize = 75
plugin.tt_products.PIDinfo = 75
plugin.tt_products.PIDpayment = 75
plugin.tt_products.paymentActivity= payment

setup:
plugin.tt_products.payment {
   payment >
   radio = 1
   10.title = Creditcard
   10.templateFile = 
typo3conf/ext/tt_products/template/payment_DIBS_template.tmpl 

   10.handleScript = typo3conf/ext/tt_products/pi/payment_DIBS.php
   10.handleScript {
   relayURL = http://mysite.com/index.php?id=75

   }

   40.title = Bank transfer
   40.image.file = typo3/sysext/cms/tslib/media/logos/money.gif
   40.priceTax = 0
   40.percentOfGoodstotal = 0
   40.excludePayment = 20
}
  i have this in the BASKET_INFO_TEMPLATE:
<input type="hidden" name="products_cmd" value="cardno" />

1) when using payment 40:
When i press button pay/order in the basket it jumps to the info page 
pid75 an thats fine, but then when i press the order button on the info 
page it jumps back to pid52 (basket page) and shows the payment page 
now, again press finalize, and the page gets finalize and the email is 
sendt.

2 )when using payment 10:
the same happens but im never presented for the payment_DIBS_template.tmpl.

am i missing something?
Please help before my computer end up in the toilet..........





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