[TYPO3-shop] Paymentlib (QuickPay) and tt_products - setup problems
Jogvan Olsen
jo at atlanticvideo.dk
Thu Apr 2 13:30:44 CEST 2009
Hi
This is the first time I am trying to set credit card Payment up for a
shop - and I can't get it to work...
(I have used tt_product before, where I use Bank transfer as payment
method).
I use
TYPOP3 4.2.0
tt_products 2.6.0
table 0.1.23
fh_library 0.0.20
div 0.1.0
paymentlib 0.3.0
paymentlib_quickpay 0.1.3
This is what happens:
- I add product to the basked
- I go to the basked - I can select delivery and payment method - I
select 'Visa/Dankort' and click 'Fortsæt til betaling (Go to Payment)'
- I get the normal tt_ptoduct address form, and I enter the address and
select 'Betal (PAY)'
- I get a blank page (I suppose I should get
'typo3conf/ext/tt_products/template/paymentlib.tmpl')
This is what I have in my TS setup:
-------- -
plugin.tt_products.payment >
plugin.tt_products.paymentActivity = payment
plugin.tt_products.payment {
radio = 1
template (
<div class="creditcards">
<nobr><div class="ccimage">###IMAGE###</div> <input type="radio"
name="recs[tt_products]['.$key.']" value="###VALUE###"###CHECKED###>
###TITLE###</nobr><BR>
</div>
)
TAXpercentage = 25
10.title = Visa/Dankort
10.templateFile = typo3conf/ext/tt_products/template/paymentlib.tmpl
10.percentOfTotalShipping = 0.01
10.handleLib = paymentlib
10.image.file = typo3conf/ext/paymentlib_quickpay/res/dankort.gif
10.handleLib {
extName = quickpay
gatewaymode = form
paymentMethod = paymentlib_quickpay_cc_dankort
#paymentMethod = paymentlib_quickpay_cc_any
Currency = DKR
templateFile = typo3conf/ext/tt_products/template/paymentlib.tmpl
}
20.title = Bankoverførsel
}
---------------
In my HTML template I have:
------------------
....
<!-- ###MESSAGE_PAYMENT### begin
This whole subpart, message_payment is substituted with the
subpart 'message_payment_[number-of-method-in-typoscript]'
-->
<!-- ###MESSAGE_PAYMENT_10### begin -->
<br><b>...Du kan kun bruge udenlandske Mastercard i vores
butik. Desuden tager MasterCard 5,75% af transaktionsbeløbet i gebyr.
Derfor bliver der kompenseret for dette beløb her.</b><br>
<!-- ###MESSAGE_PAYMENT_10### end -->
<!-- ###MESSAGE_PAYMENT_20### begin -->
<br>
<b>Du kan kun bruge udenlandske VISA-kort i vores butik.
Desuden tager VISA 5,75% af transaktionsbeløbet i gebyr. Derfor bliver
der kompenseret for dette beløb her.</b><br>
<!-- ###MESSAGE_PAYMENT_20### end -->
<!-- ###MESSAGE_PAYMENT_30### begin -->
<br>
<b>Du kan kun bruge udenlandske Diners-kort i vores butik.
Desuden tager Diners Club 5,75% af transaktionsbeløbet i gebyr. Derfor
bliver der kompenseret for dette beløb her.</b><br>
<!-- ###MESSAGE_PAYMENT_30### end -->
<!-- ###MESSAGE_PAYMENT_40### begin -->
<br>
<b>Dsdsdsdfsdfsd.</b><br>
<!-- ###MESSAGE_PAYMENT_40### end -->
<!-- ###MESSAGE_PAYMENT### end -->
###GW2E###
</td>
<td valign=top align=right colspan=3>###GW1B###
<b>###PRICE_PAYMENT_TAX###</b><br>
(###PRICE_PAYMENT_NO_TAX###)<br>
###GW1E###</td>
</tr>
<tr>
<td colspan=6><img src="clear.gif" width=1 height=10></td>
</tr>
<tr>
<td colspan=6
bgcolor="###GC2###">###GW2B###<b>TOTAL:</b>###GW2E###</td>
</tr>
<tr>
<td valign=top colspan=3>###GW1B###
<strong>I alt i DKR:</strong>
###GW1E###</td>
<td valign=top align=right colspan=3 nowrap>###GW1B###
<b> ###PRICE_TOTAL_TAX###</b><br>
(ekskl. moms: ###PRICE_TOTAL_NO_TAX###)<br>
###GW1E###</td>
</tr>
</table>
<br>
<form method="post" action="###FORM_URL###" name="paymentform">
<input type="Submit" name="products_update" value="Fortsæt
bestilling">
<input type="Submit" name="products_finalize" value="Udfør ordre"
onclick="document.getElementsByName('paymentform')[0].action='###FORM_URL_THANKS###';
document.getElementsByName('paymentform')[0].target='###FORM_URL_TARGET###';">
</form>
<br>
<form method="post" action="###FORM_URL###"
name="###FORM_NAME_GIFT_CERTIFICATE###">
###GW1B###number of gift certificate:###GW1E###<br/>
<input size="30" maxlength="30" type="text"
name="###GIFT_CERTIFICATE_UNIQUE_NUMBER_NAME###">
<input type="hidden" name="products_payment" value="1">
<input type="Submit" name="products_redeem_gift" value="redeem
gift certificate">
</form>
<!-- ###BASKET_PAYMENT_TEMPLATE### end -->
------------------------
what am I missing?
can anyone guide me toward to solution?
a step by step checklist would be really nice...
Regards
Jogvan Olsen
More information about the TYPO3-project-tt-products
mailing list