[Typo3-shop] When payment fails order is still finalized???
Jesper Weissglas
jesper at seventhwave.se
Tue Nov 29 09:08:14 CET 2005
David Toshack wrote:
....
> What I did to get this talking to tt_produts was modify the
> payment_DIBS.php handleScript, mainly involving a modified accepturl and declineurl
....
> Hope this helps.
Good info, but unfortunatly it doesn't seem to help here. The issue here
is the current payment structures reliance on *different* pages for
accept and decline.
When the whole process is encapsulated in the handlescript, as it will
be when the entire bank interaction takes place between my server and
the banks server in one single transaction.
So there is one http POST from the customer to my server, and in the
response to that request I process his payment and should be able to
respond "yes" or "no" to him. Now I can't, because the whole procedure
is set up for using redirects to the bank and the bank redirecting back
to the right page.
I could of course hijack Typo3's flow of control in PHP or using
JavaScript, but then I put myself in danger of T3 updates and changes
something, and also lose the security and robustness the bank wants me
to have by not having to use redirects.
/j
More information about the TYPO3-project-tt-products
mailing list