TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

Die TYPO3 Mailingliste - nicht fragen: lesen!

[TYPO3-shop] tt_products 2.7.0

This is a discussion on [TYPO3-shop] tt_products 2.7.0 within the typo3-project-tt-products@lists.netfielders.de forums, part of the TYPO3-Mailinglists: ENGLISH category; Hi All, I just upgraded to 2.7.0 of tt_products (previous 2.5.5) and there are only two ...


Zurück   TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv > TYPO3-Mailinglists: ENGLISH > typo3-project-tt-products@lists.netfielders.de

Registrieren Hilfe Benutzerliste Kalender Suchen Heutige Beiträge Alle Foren als gelesen markieren
  #1  
Alt 20.09.2008, 16:58
Matt Sturkenboom
Gast
 
Beiträge: n/a
Standard [TYPO3-shop] tt_products 2.7.0

Hi All,

I just upgraded to 2.7.0 of tt_products (previous 2.5.5) and there are
only two problems.

1. The price2 markers were not implemented yet wich i could resolve
pretty easly. (If anyone needs help with this please mail!)

2. The 'paymentActivity = customized' does not work. I see in the
documentation this option is not available but this was also in the
previous version.
With only a few adjustments to the code in the previous version i made
it work but now i can't find why it is going wrong.
The error i receive is this : tt_products: $this->pibase and
$this->pibase->cObj must be objects!

We use this option to implement our own payment service iDeal wich
worked great in version 2.5.5 .

Does someone have an idea what the problem could be? Maybe I need to
post more info?

I hope Franz has an idea?

Thnx in advanced!
_______________________________________________
TYPO3-project-tt-products mailing list
TYPO3-project-tt-products (AT) lists...netfielders.de
http://lists.netfielders.de/cgi-bin/...ct-tt-products
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #2  
Alt 23.09.2008, 11:43
Franz Holzinger
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] tt_products 2.7.0

Hello,

Matt Sturkenboom a écrit :

> I just upgraded to 2.7.0 of tt_products (previous 2.5.5) and there are
> only two problems.
>
> 1. The price2 markers were not implemented yet wich i could resolve
> pretty easly. (If anyone needs help with this please mail!)


priceNoReseller = 2

> 2. The 'paymentActivity = customized' does not work. I see in the
> documentation this option is not available but this was also in the
> previous version.
> With only a few adjustments to the code in the previous version i made
> it work but now i can't find why it is going wrong.
> The error i receive is this : tt_products: $this->pibase and
> $this->pibase->cObj must be objects!


Where is this in the most current tt_products 2.7.0?


> We use this option to implement our own payment service iDeal wich
> worked great in version 2.5.5 .


- Franz


_______________________________________________
TYPO3-project-tt-products mailing list
TYPO3-project-tt-products (AT) lists...netfielders.de
http://lists.netfielders.de/cgi-bin/...ct-tt-products
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #3  
Alt 25.09.2008, 13:28
Matt Sturkenboom
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] tt_products 2.7.0

2008/9/23 Franz Holzinger <franz (AT) fholzinger (DOT) com>:
> Hello,
>
> Matt Sturkenboom a écrit :
>
>> I just upgraded to 2.7.0 of tt_products (previous 2.5.5) and there are
>> only two problems.
>>
>> 1. The price2 markers were not implemented yet wich i could resolve
>> pretty easly. (If anyone needs help with this please mail!)

>
> priceNoReseller = 2
>
>> 2. The 'paymentActivity = customized' does not work. I see in the
>> documentation this option is not available but this was also in the
>> previous version.
>> With only a few adjustments to the code in the previous version i made
>> it work but now i can't find why it is going wrong.
>> The error i receive is this : tt_products: $this->pibase and
>> $this->pibase->cObj must be objects!

>
> Where is this in the most current tt_products 2.7.0?


I had to use the code of the paymentlib_dibs file. So the error is
solved. Now i have an other problem because my template wil not show.
I think i have an idea where the problem is because i can output the
content with an echo.


>
>> We use this option to implement our own payment service iDeal wich
>> worked great in version 2.5.5 .

>
> - Franz
>
>
> _______________________________________________
> TYPO3-project-tt-products mailing list
> TYPO3-project-tt-products (AT) lists...netfielders.de
> http://lists.netfielders.de/cgi-bin/...ct-tt-products
>

_______________________________________________
TYPO3-project-tt-products mailing list
TYPO3-project-tt-products (AT) lists...netfielders.de
http://lists.netfielders.de/cgi-bin/...ct-tt-products
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #4  
Alt 25.09.2008, 13:28
Matt Sturkenboom
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] tt_products 2.7.0

2008/9/23 Franz Holzinger <franz (AT) fholzinger (DOT) com>:
> Hello,
>
> Matt Sturkenboom a écrit :
>
>> I just upgraded to 2.7.0 of tt_products (previous 2.5.5) and there are
>> only two problems.
>>
>> 1. The price2 markers were not implemented yet wich i could resolve
>> pretty easly. (If anyone needs help with this please mail!)

>
> priceNoReseller = 2
>
>> 2. The 'paymentActivity = customized' does not work. I see in the
>> documentation this option is not available but this was also in the
>> previous version.
>> With only a few adjustments to the code in the previous version i made
>> it work but now i can't find why it is going wrong.
>> The error i receive is this : tt_products: $this->pibase and
>> $this->pibase->cObj must be objects!

>
> Where is this in the most current tt_products 2.7.0?


I had to use the code of the paymentlib_dibs file. So the error is
solved. Now i have an other problem because my template wil not show.
I think i have an idea where the problem is because i can output the
content with an echo.


>
>> We use this option to implement our own payment service iDeal wich
>> worked great in version 2.5.5 .

>
> - Franz
>
>
> _______________________________________________
> TYPO3-project-tt-products mailing list
> TYPO3-project-tt-products (AT) lists...netfielders.de
> http://lists.netfielders.de/cgi-bin/...ct-tt-products
>

_______________________________________________
TYPO3-project-tt-products mailing list
TYPO3-project-tt-products (AT) lists...netfielders.de
http://lists.netfielders.de/cgi-bin/...ct-tt-products
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #5  
Alt 25.09.2008, 21:40
Matt Sturkenboom
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] tt_products 2.7.0

This is my config for the payment :

90.title = iDEAL.
90.handleScript = fileadmin/payments/code/payment.php
90.image.file = fileadmin/img/ideal_logo.jpg
90.handleScript {
returnURL = http://www.safesupport.eu
templateFile = fileadmin/templates/shop/ideal.tmpl
}

And the code that is in payment.php is very much the same like in
payment_dibs.php.
And the problem is the content of the template does not show? If I
echo the content I see he reads it but it does not show.

If it helps I can also post the payment.php code.


Franz do you have an idea.

Gr, Matthew







2008/9/25 Matt Sturkenboom <m.sturkenboom (AT) gmail (DOT) com>:
> 2008/9/23 Franz Holzinger <franz (AT) fholzinger (DOT) com>:
>> Hello,
>>
>> Matt Sturkenboom a écrit :
>>
>>> I just upgraded to 2.7.0 of tt_products (previous 2.5.5) and there are
>>> only two problems.
>>>
>>> 1. The price2 markers were not implemented yet wich i could resolve
>>> pretty easly. (If anyone needs help with this please mail!)

>>
>> priceNoReseller = 2
>>
>>> 2. The 'paymentActivity = customized' does not work. I see in the
>>> documentation this option is not available but this was also in the
>>> previous version.
>>> With only a few adjustments to the code in the previous version i made
>>> it work but now i can't find why it is going wrong.
>>> The error i receive is this : tt_products: $this->pibase and
>>> $this->pibase->cObj must be objects!

>>
>> Where is this in the most current tt_products 2.7.0?

>
> I had to use the code of the paymentlib_dibs file. So the error is
> solved. Now i have an other problem because my template wil not show.
> I think i have an idea where the problem is because i can output the
> content with an echo.
>
>
>>
>>> We use this option to implement our own payment service iDeal wich
>>> worked great in version 2.5.5 .

>>
>> - Franz
>>
>>
>> _______________________________________________
>> TYPO3-project-tt-products mailing list
>> TYPO3-project-tt-products (AT) lists...netfielders.de
>> http://lists.netfielders.de/cgi-bin/...ct-tt-products
>>

> _______________________________________________
> TYPO3-project-tt-products mailing list
> TYPO3-project-tt-products (AT) lists...netfielders.de
> http://lists.netfielders.de/cgi-bin/...ct-tt-products
>

_______________________________________________
TYPO3-project-tt-products mailing list
TYPO3-project-tt-products (AT) lists...netfielders.de
http://lists.netfielders.de/cgi-bin/...ct-tt-products
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #6  
Alt 26.09.2008, 06:46
Franz Holzinger
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] tt_products 2.7.0

Matt Sturkenboom a écrit :
> This is my config for the payment :
>
> 90.title = iDEAL.
> 90.handleScript = fileadmin/payments/code/payment.php
> 90.image.file = fileadmin/img/ideal_logo.jpg
> 90.handleScript {
> returnURL = http://www.safesupport.eu
> templateFile = fileadmin/templates/shop/ideal.tmpl
> }
>
> And the code that is in payment.php is very much the same like in
> payment_dibs.php.
> And the problem is the content of the template does not show? If I
> echo the content I see he reads it but it does not show.
>
> If it helps I can also post the payment.php code.


Yes, you shall also send the file payment.php to check it.

- Franz
_______________________________________________
TYPO3-project-tt-products mailing list
TYPO3-project-tt-products (AT) lists...netfielders.de
http://lists.netfielders.de/cgi-bin/...ct-tt-products
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #7  
Alt 26.09.2008, 13:41
Matt Sturkenboom
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] tt_products 2.7.0

This is the code of payment.php and when I echo the content I see i
reads the template file but i it does not show it:

if (!is_object($pibase) || !is_object($this->cObj) ||
!is_object($this->basket)) die('tt_products: $pibase and $pibase->cObj
must be objects!');

// $lConf = $this->basketExtra["payment."]["handleScript."];
// Loads the handleScript TypoScript into $lConf.
$lConf = $confScript;

$localTemplateCode = $this->cObj->fileResource($lConf['templateFile']
? $lConf['templateFile'] :
'EXT:tt_products/template/payment_DIBS_template.tmpl'); // Fetches
the DIBS template file
if (!is_object($basketView)) {
$error_code = '';
$basketView = &t3lib_div::getUserObj('tx_ttproducts_basket_view' ,1);
$basketView->init ($pibase, array(), FALSE, $this->templateCode, $error_code);
}
$markerObj = &t3lib_div::getUserObj('&tx_ttproducts_marker') ;
$localTemplateCode =
$this->cObj->substituteMarkerArrayCached($localTemplateCode,
$markerObj->getGlobalMarkerArray());

$tablesObj = &t3lib_div::getUserObj('&tx_ttproducts_tables') ;
$order = &$tablesObj->get('sys_products_orders');

$orderUid = $order->getBlankUid(); // Gets an order number, creates a
new order if no order is associated with the current session

$param = '&FE_SESSION_KEY='.rawurlencode(
$GLOBALS['TSFE']->fe_user->id.'-'.
md5(
$GLOBALS['TSFE']->fe_user->id.'/'.
$GLOBALS['TYPO3_CONF_VARS']['SYS']['encryptionKey']
)
);

//echo "tc : " .$localTemplateCode;
//echo "bedrag :
".round($this->basket->calculatedArray['priceTax']['total']*100);
//echo "Order : ".$this->order->getNumber($orderUid);

$content=$basketView->getView($localTemplateCode, 'PAYMENT',
$infoViewObj, false, false, false,
'###IDEAL_STEP1_TEMPLATE###',$markerArray);

$markerArray=array();
$markerArray['###ORDER_ID###'] = $order->getNumber($orderUid);

$content=$pibase->cObj->substituteMarkerArrayCached($content, $markerArray);



2008/9/26 Franz Holzinger <franz (AT) fholzinger (DOT) com>:
> Matt Sturkenboom a écrit :
>> This is my config for the payment :
>>
>> 90.title = iDEAL.
>> 90.handleScript = fileadmin/payments/code/payment.php
>> 90.image.file = fileadmin/img/ideal_logo.jpg
>> 90.handleScript {
>> returnURL = http://www.safesupport.eu
>> templateFile = fileadmin/templates/shop/ideal.tmpl
>> }
>>
>> And the code that is in payment.php is very much the same like in
>> payment_dibs.php.
>> And the problem is the content of the template does not show? If I
>> echo the content I see he reads it but it does not show.
>>
>> If it helps I can also post the payment.php code.

>
> Yes, you shall also send the file payment.php to check it.
>
> - Franz
> _______________________________________________
> TYPO3-project-tt-products mailing list
> TYPO3-project-tt-products (AT) lists...netfielders.de
> http://lists.netfielders.de/cgi-bin/...ct-tt-products
>

_______________________________________________
TYPO3-project-tt-products mailing list
TYPO3-project-tt-products (AT) lists...netfielders.de
http://lists.netfielders.de/cgi-bin/...ct-tt-products
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #8  
Alt 26.09.2008, 19:30
Franz Holzinger
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] tt_products 2.7.0

Matt Sturkenboom a écrit :
> This is the code of payment.php and when I echo the content I see i
> reads the template file but i it does not show it:


Change in view/class.tx_ttproducts_basket_view.php:


$markerArray = array();
if (isset($mainMarkerArray) && is_array($mainMarkerArray)) {
$markerArray = array_merge($markerArray, $mainMarkerArray);
}


But in your script you generate some output. I cannot see this, because
I do not have the file ideal.tmpl .


- Franz



_______________________________________________
TYPO3-project-tt-products mailing list
TYPO3-project-tt-products (AT) lists...netfielders.de
http://lists.netfielders.de/cgi-bin/...ct-tt-products
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #9  
Alt 26.09.2008, 21:57
Matt Sturkenboom
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] tt_products 2.7.0

The code didn't solved the problem. I hope you understand what the problem is?
The script payment.php gets called and when i put an 'echo $content'
at the end of the script the content gets displayed at the top of the
browser.

Like this:

<div id=ideal>
test...
</div>
<html>
<head>
.......etc

So it looks like the content is replaced later.



2008/9/26 Franz Holzinger <franz (AT) fholzinger (DOT) com>:
> Matt Sturkenboom a écrit :
>> This is the code of payment.php and when I echo the content I see i
>> reads the template file but i it does not show it:

>
> Change in view/class.tx_ttproducts_basket_view.php:
>
>
> $markerArray = array();
> if (isset($mainMarkerArray) && is_array($mainMarkerArray)) {
> $markerArray = array_merge($markerArray, $mainMarkerArray);
> }
>
>
> But in your script you generate some output. I cannot see this, because
> I do not have the file ideal.tmpl .
>
>
> - Franz
>
>
>
> _______________________________________________
> TYPO3-project-tt-products mailing list
> TYPO3-project-tt-products (AT) lists...netfielders.de
> http://lists.netfielders.de/cgi-bin/...ct-tt-products
>

_______________________________________________
TYPO3-project-tt-products mailing list
TYPO3-project-tt-products (AT) lists...netfielders.de
http://lists.netfielders.de/cgi-bin/...ct-tt-products
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #10  
Alt 27.09.2008, 16:49
Matt Sturkenboom
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] tt_products 2.7.0

I got it working now!

in *_control.php I changed the following :

This :
$mainMarkerArray['###MESSAGE_PAYMENT_SCRIPT###'] =
$this->processPayment($bFinalize, $basketView, $infoViewObj);

To this:
$content .= $this->processPayment($bFinalize, $basketView, $infoViewObj);





2008/9/26 Matt Sturkenboom <m.sturkenboom (AT) gmail (DOT) com>:
> The code didn't solved the problem. I hope you understand what the problem is?
> The script payment.php gets called and when i put an 'echo $content'
> at the end of the script the content gets displayed at the top of the
> browser.
>
> Like this:
>
> <div id=ideal>
> test...
> </div>
> <html>
> <head>
> ......etc
>
> So it looks like the content is replaced later.
>
>
>
> 2008/9/26 Franz Holzinger <franz (AT) fholzinger (DOT) com>:
>> Matt Sturkenboom a écrit :
>>> This is the code of payment.php and when I echo the content I see i
>>> reads the template file but i it does not show it:

>>
>> Change in view/class.tx_ttproducts_basket_view.php:
>>
>>
>> $markerArray = array();
>> if (isset($mainMarkerArray) && is_array($mainMarkerArray)) {
>> $markerArray = array_merge($markerArray, $mainMarkerArray);
>> }
>>
>>
>> But in your script you generate some output. I cannot see this, because
>> I do not have the file ideal.tmpl .
>>
>>
>> - Franz
>>
>>
>>
>> _______________________________________________
>> TYPO3-project-tt-products mailing list
>> TYPO3-project-tt-products (AT) lists...netfielders.de
>> http://lists.netfielders.de/cgi-bin/...ct-tt-products
>>

> _______________________________________________
> TYPO3-project-tt-products mailing list
> TYPO3-project-tt-products (AT) lists...netfielders.de
> http://lists.netfielders.de/cgi-bin/...ct-tt-products
>

_______________________________________________
TYPO3-project-tt-products mailing list
TYPO3-project-tt-products (AT) lists...netfielders.de
http://lists.netfielders.de/cgi-bin/...ct-tt-products
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
 

Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen

Thema Autor Forum Antworten Letzter Beitrag
[TYPO3-shop] tt_products 2.7.0 , mbi_products_categories Thorsten Orth typo3-project-tt-products@lists.netfielders.de 4 11.07.2008 17:02
[TYPO3-shop] doubt about tt_products.CSS.tt_products.LIST.row.even Augusto Sacchetto typo3-project-tt-products@lists.netfielders.de 1 17.10.2007 09:56
[TYPO3-shop] Questions about using VAT in tt_products Eef Weenink typo3-project-tt-products@lists.netfielders.de 1 16.05.2007 07:53
[TYPO3-shop] tt_products and RealURL Alexander typo3-project-tt-products@lists.netfielders.de 3 17.04.2007 21:58
[TYPO3-shop] ability tt_products Igor Pstyga typo3-project-tt-products@lists.netfielders.de 7 15.01.2007 10:06


Alle Zeitangaben in WEZ +1. Es ist jetzt 16:39 Uhr.


Powered by vBulletin® Version 3.7.2 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74