[Typo3-shop] tt_products payment method credit card...
Franz Holzinger
franz at fholzinger.com
Tue Nov 15 07:10:27 CET 2005
Hello Thomas,
> Hello, here a little update.
>
> i have now on my delivery and billing-adress site depending on the
> billing type an additional form for credit card data.
> solved with:
> <!-- ###MESSAGE_PAYMENT### begin
> This whole subpart, message_payment is
> substituted with the subpart
> 'message_payment_[number-of-method-in-typoscript]'
> -->
>
> How can i now store this additional values in the database like
> recs[delivery][name].
> ...
> recs[delivery][cc_number]
> recs[delivery][cc_owner]
>
> and how can i easy show this values again on my thanks-page.
>
1. encryption of the creditcard data is needec
2. set an additional personInfo and deliveryInfo fields in
lib/class.tx_ttproducts_basket.php.
Maybe you should contact Bert Hiddink to extend the feuserextrafields
extension with new fields.
$this->personInfo['tx_feuserextrafields_cc_number'] =
$TSFE->fe_user->user['tx_feuserextrafields_cc_number'];
$this->personInfo['tx_feuserextrafields_cc_owner'] =
$TSFE->fe_user->user['tx_feuserextrafields_cc_owner'];
Search the code for 'feuserextrafields' and add your fields there.
Franz
More information about the TYPO3-project-tt-products
mailing list