[Typo3-shop] paypal payment form can't work: nested forms!!
Mark Kuiphuis
mark at do_not_spam_exxtra.nl
Wed Nov 23 09:26:13 CET 2005
Hi Stefano (and the rest of course)
I saw this (relatively old) thread when I subscribed to this newsgroup
yesterday. I added the content to the "default" template:
products_template.tmpl (I only renamed the template and change the
Typoscript to point to the same file but with extension .html, which now
I can see the color-coding.
I am however unable to view the <!-- ###MESSAGE_PAYMENT_20### --> ......
<!-- ###MESSAGE_PAYMENT_20### -->
When I select the radio-button PayPal in my basket (which I added in
Typoscript with the following code). It's still very default to the
standard template, but I am unable to view the extra PayPal form on the
next page (after clicking on proceed)
plugin.tt_products.payment {
radio = 1
10.title = Bill
10.image.file =
10.priceTax =
10.priceNoTax =
20.title = PayPal
20.image.file =
20.priceTax =
20.priceNoTax =
20.addRequiredInfoFields =
30.title = Surname
30.image.file =
30.priceTax = 7.50
30.priceNoTax = 6.47
40.title = Creditcard
40.image.file =
40.priceTax =
40.priceNoTax =
40.addRequiredInfoFields = kk_nr,kk_ablauf,kk_pruefcode
}
I also noticed Stefano mentioning something about parse libs form
rendering. But I hoped he also added the filename/location where to make
some changes (if needed at all).
I hope someone can help me out with implementing the PayPal payment
procedure...
Kind regards, Mark
stefano cecere wrote:
> solved: i did put the paypal form in the wrong template..
> now i have only to show the payment page ... arf
> stefano
>
>
> stefano cecere wrote:
>
>> sicne nested forms can't work.. please: how did you make a payment
>> subform work?
>>
>> the paypal button is indeed a subform:
>>
>> <!-- ###MESSAGE_PAYMENT_20### begin
>> Message for payment method 20, Paypal
>> -->
>> <p><font color=red><strong>PayPal:</strong><br />
>> Paga cliccando su questo link a PayPal:<br />
>> <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
>> <input type="hidden" name="cmd" value="_xclick">
>> <input type="hidden" name="business" value="paypaladdress">
>> <input type="hidden" name="item_name" value="###ORDER_UID###">
>> <input type="hidden" name="amount" value="###PRICE_TOTAL_TAX###">
>> <input type="hidden" name="currency_code" value="EUR">
>> <input type="image"
>> src="http://www.paypal.com/it_IT/i/btn/x-click-but01.gif"
>> name="submit" alt="Effettua i tuoi pagamenti con PayPal. È un sistema
>> rapido, gratuito e sicuro.">
>> </form>
>> </font></p>
>> <!-- ###MESSAGE_PAYMENT_20### end -->
>>
>> but the form doen't works, since the "upper" form has precedence..
>>
>> please any working example?
>> and after paypal payment, where do i make it redirect to?
>>
>> thanks
>> stefano cecere
More information about the TYPO3-project-tt-products
mailing list