[TYPO3-shop] Finalize problem and wrong pids

Karsten kap at os.dk
Tue Jul 25 18:29:24 CEST 2006


Karsten skrev:
> 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..........
> 
> 
Ok now im getting the handlescript, wrong path.... (late in the evening)
but now im getting this:
Fatal error: Call to a member function getBlankUid() on a non-object in 
mysite.com\typo3conf\ext\tt_products\pi1\payment_DIBS.php on line 54

Karsten



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