[TYPO3-shop] tt_products handleScript for PayPal Express Checkout

Richard Hirner richard at hirner.at
Thu Feb 14 14:28:26 CET 2008


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>

-----------------------------------------------


-- 
Best regards,
Richard Hirner


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