[Typo3-shop] When payment fails order is still finalized???
Jens Liesegang
sunos at gmx.de
Mon Nov 28 16:27:10 CET 2005
Same problem here. Did you figure out a solution?
Jens
On 25.11.2005 13:44 Uhr, in article
mailman.1.1132922637.27149.typo3-project-tt-products at lists.netfielders.de,
"Jesper Weissglas" <jesper at seventhwave.se> wrote:
> Franz Holzinger wrote:
>> when you are already in the finalize activity this means that the order
>> will be processed. So you have to use your payment script at the end of
>> the payment activity where the process can stop before finalizing the
>> order.
>>
>> It is not possible to get an answer from the payment script during the
>> finalize activity.
>
> OK, so I should use paymentActivity=payment instead. This creates the
> following structure:
>
> As ususal in the BASKET_INFO_TEMPLATE, I fill in billing and shipping
> address. I then press the products_payment button, which takes me to the
> BASKET_PAYMENT_TEMPLATE *and* calls the handleScript. At this point the
> handlescript does not have any credit card info, so it displays a credit
> card input form which the system places at the bottom of the page.
>
> Since I am using paymentActivity=payment, my submit button in this form
> still has to be products_payment (not products_finalize), otherwise the
> handleScript doesn't get called again. Now when I press submit the
> handlescript gets the credit card info and processes the transaction.
>
> But now I have the same problem as before, only reversed! If the payment
> was not accepted, I can display a message and ask for corrected
> information. That's fine. But if the payment was approved, I should
> display the order confirmation and the order should be finalized, and
> there is no way I can make that happend. I can have the user press a
> button to get the order finalized, but that's totally crazy, since if he
> doesen't do that, there is no order but his card still gets the charge.
>
> /jesper
More information about the TYPO3-project-tt-products
mailing list