[Typo3-shop] tt_products 1.2.7 works with handlescript
Jogvan Olsen
jo at atlanticvideo.dk
Thu Sep 22 11:18:11 CEST 2005
I use the same html template for all tests. The template I used is a
translated version of the 'products_template.tmpl' included with version
2.2.4. Typo3 version 3.7 was used for tests.
I just made a little extra test, and found version 2.0.5 and version 2.2.4
also start the handlescript, when I use the code included in the manual.
Looks like later version does not start the handlescript.
The latest version, 2.2.9, give me a warning when I call the Basket:
Warning: Division by zero in
/var/www/aftv/typo3conf/ext/tt_products/lib/class.tx_ttproducts_basket_div.php
on line 787
When I click 'Finalize' I get 4 lines with the same error:
Warning: Division by zero in
/var/www/aftv/typo3conf/ext/tt_products/lib/class.tx_ttproducts_basket_div.php
on line 787
Warning: Division by zero in
/var/www/aftv/typo3conf/ext/tt_products/lib/class.tx_ttproducts_basket_div.php
on line 787
Warning: Division by zero in
/var/www/aftv/typo3conf/ext/tt_products/lib/class.tx_ttproducts_basket_div.php
on line 787
Warning: Division by zero in
/var/www/aftv/typo3conf/ext/tt_products/lib/class.tx_ttproducts_basket_div.php
on line 787
--------------
This code, included in the manual, start the handlescript when using version
1.2.7 - 2.0.4 and version 2.2.4 - looks like later versions doesn't start
the handlescript.
paymentActivity = payment
plugin.tt_products.payment {
10.title = Dankort, VISA-Dankort
10.image.file = media/logos/dankort.gif
10.image.params = align=absmiddle vspace=2
10.handleScript = typo3conf/ext/tt_products/pi/payment_DIBS.php
10.handleScript {
merchant = xxxxx
test = 0
k1 = xxxxx
k2 = xxxxx
currency = 208
addOrderInfo = 1
account =
cardType = DK,V-DK
relayURL = http://www.inter-photo.dk/index.php?id=204
}
# 10.handleURL = index.php?204
10.handleTarget = _top
20 < .10
20.title = Unibank e-betaling
20.image.file = media/logos/soloe.gif
20.handleScript.soloe=1
}
/jogvan
"Franz Holzinger" <franz at fholzinger.com> wrote in message
news:mailman.1.1127342357.5368.typo3-project-tt-products at lists.netfielders.de...
> Hello Jogvan,
>> I use tt_products 2.2.8 on my page, but I can't start a handlescript to
>> call
>> a payment gateway.
>> After lots of desperate experiments, I started to test older versions of
>> tt_products - the only version I found (there might be others), that
>> started
>> the handlescript was tt_products version 1.2.7.
>>
>> I hope this information can help someone to correct the new version so it
>> start the handlescript.
>>
> you have to set
> paymentActivity=finalize
> when the payment shall be done after finalization.
>
> Do you use the same template file?
>
>
> Franz
More information about the TYPO3-project-tt-products
mailing list