[TYPO3-shop] finalizing an order in handleScript

John Nicholas J_nicholas at excite.com
Sat Nov 22 18:28:51 CET 2008


I'll start a new thread on this to try to maintain clarity on my problem.

I have a tt_products store that lets a user enter their address etc in 
the ###BASKET_INFO_TEMPLATE### page. Currently the submit button is like 
this:

<input type="Submit" name="products_customized_payment" value="Pay / 
Order" onClick="document.forms[0].action='###FORM_URL_FINALIZE###';">

I have a handleScript that successfully connects to authorize.net and 
gets a accept or decline response. Note that nothing is rendered at 
authroize, this is not like DIBS or other samples where the user goes to 
the approver and comes back.

If it is an accepted credit card then the next page should be the Order 
confirmation page and trigger the finalization actions like clearing the 
cart and sending the emails to the store admin and the user.

Currently it just renders a blank output. If I change 
name="products_customized_payment" to name="products_payment" it then 
skips the handleScript and goes to a finalize page. I'd rather skip the 
finalize page if possible since that leaves a gray area where they may 
not click finalize even though I've submitted the CC info to authorize.net.


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