[Typo3-shop] When payment fails order is still finalized???

Jesper Weissglas jesper at seventhwave.se
Thu Nov 24 20:38:35 CET 2005


OK, so I now have an almost complete SOAP payment backend for my shop.
What confuses me now is how to handle failed payments.

I am using plugin.tt_products.paymentActivity = finalize

My BASKET_PAYMENT_TEMPLATE contains the fields for the credit card data 
in the form with the products_finalize submit action.

So when the customer hits "Pay" the products_finalize action is 
executed, the handlescript is called, the handlescript communicates with 
the bank, and the customer is shown the BASKET_ORDERCONFIRMATION_TEMPLATE.

Great.

Except if the payment is not approved by the bank, and the handleScript 
never calls tx_ttproducts_finalize_div::finalizeOrder(), the order 
confirmation is still displayed, and I can't see how I can stop this 
from happening???

/j



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