[Typo3-shop] When payment fails order is still finalized???
David Toshack
david at vaultin.com
Tue Nov 29 03:59:25 CET 2005
I've found changing the declineurl field in the handleScript to have a
query string containing products_payment=1 rather than
products_finalize=1 did it for me.
To put that in context, I use a gateway called Dialect Solutions
(http://www.dialectsolutions.com), which envolves submitting to a java
socket listner on our server which then talks to an external server to
process the payments and returns the results.
What I did to get this talking to tt_produts was modify the
payment_DIBS.php handleScript, mainly involving a modified accepturl and
declineurl field so that the submit goes to my own merchant payment
script to process. Then using a php header location in my external
script, uses either the accepturl or declineurl post variable to return
to either process the order or not.
Hope this helps.
Cheers,
David
Jesper Weissglas wrote:
> Jens Liesegang wrote:
>
>> Same problem here. Did you figure out a solution?
>
>
> No, I'm stumped. Thought about hacking the code for a while, but that
> gets nasty when the next version comes along I'm shure.
>
> The basket code is very focused on the DIBS flow of control
> unfortunately, plus I'm doing this work for no pay for a non-profit
> organization, so I can't spend that much time on it.
> /j
More information about the TYPO3-project-tt-products
mailing list