[TYPO3-shop] tt_products handleScript for PayPal Express Checkout

Lukas Taferner lukas at taferner.net
Wed Feb 20 13:01:55 CET 2008


Hi Richard, Tomi,

same problem here but no solution ;-(

I use tt_products 2.5.4 and did all the installation things (replace 
_control.php even though there were some occurrences of 
'products_customized_payment', install and customize the files and the sdk).
I use a single page as basket/info and payment page, this is my form in 
products_payment:

/<form method="post" name="submitform" action="###FORM_URL###">
                <div>
            <input type="hidden" name="mode_update" value="1" />
                    <input type="submit" name="products_update" 
value="zur&uuml;ck zum Warenkorb" />
                    <input type="submit" 
name="products_customized_payment" value="Pay via PayPal & finalize order">
                </div>
            </form>/

Unfortunately when I click the button I am 'beamed' back to to the 
basket page . . .

Any help appreciated,

best regards,

Lukas



Tomi Hrovatin schrieb:
> Richard,
>
> thanks. FORM_URL marker did the trick. I only tried all others... :(
>
> Maybe you have some advice on paypal generally. Please see a recent post 
> on this list called "Paypal accounts".
>
> thanks again,
> Tomi Hrovatin
>
> Richard Hirner wrote:
>   
>> Hello,
>>
>>     
>>> But I have problems since paypal page is never called.
>>>       
>>> My page setup is like this->
>>> Basket page (CODE: basket:content, FORM action set to
>>> ###FORM_URL_INFO###)
>>> 	Info page (CODE: basket:input customer data, FORM action set to
>>> ###FORM_URL_PAYMENT###)
>>> 	Payment page (CODE: basket:control and payment, FORM action set to
>>> ###FORM_URL_FINALIZE###)
>>> 	Finalize page (CODE: basket:finalize)
>>>       
>> After the "products_payment" page, you need another call to 
>> "products_customized_payment". This call makes PayPal calls and redirects 
>> to PayPal. Then after checking out with PayPal, it returns to the 
>> "products_customized_payment&approved=1" page, which redirects to 
>> products_finalize.
>>
>> => Change the FORM_URL_FINALIZE so that the form is called with 
>> products_customized, this should work:
>>
>>
>> -----------------------------------------------
>>
>> ... this is your payment page ...
>>
>> <form name="submitform" method="post" action="###FORM_URL###">
>> ...
>> <input type="submit" name="products_customized_payment" value="Pay via 
>> PayPal & finalize order">
>> ...
>> </form>
>>
>> -----------------------------------------------
>>
>>
>>     
> _______________________________________________
> TYPO3-project-tt-products mailing list
> TYPO3-project-tt-products at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-tt-products
>
>   


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