[TYPO3-commerce] question about new PAYMENT article
Bas van der Togt
bas.vander.togt at efocus.nl
Thu Mar 13 11:54:28 CET 2008
Thanks for all the replies!
I found the problem: i deleted the form attribute in the template... :-(
That's the reason why it was only using the default payment article.
kind regards,
Bas
Thibaut van de Mortel wrote:
> Hello Bas,
> I am not sure at all about where the problem comes from. But I also did
> an extension for the Ogone payment service, and I'm not using all the
> hooks you use. I actually only use the "finishIt" hook and i don't
> understand why you need the "init" and "main" hooks for the payment.
>
> Maybe the fact that you use those two hooks kind of "overwrites" normal
> behaviour? I don't know.
>
> Anyway, as you already know, the prepayment is defined like this by
> default in Commerce's ext_localconf.php :
>
> $GLOBALS['TYPO3_CONF_VARS']['EXTCONF'][COMMERCE_EXTkey]['SYSPRODUCTS']['PAYMENT']['types']['prepayment']
> = array (
> 'path' => PATH_txcommerce
> .'payment/class.tx_commerce_payment_prepayment.php',
> 'class' => 'tx_commerce_payment_prepayment',
> 'type'=>PAYMENTArticleType,
> );
>
> I wonder what happens that overwrites that.
>
> Regards,
> tibo
>
>> In my commerce extension i have two different payment articles; Ogone
>> and prepayment. When selecting prepayment it's always using the ogone
>> class. It has to use the prepayment class. Does anybody know how to
>> solve this problem?
More information about the TYPO3-project-commerce
mailing list