[TYPO3-shop] Finalize problem and wrong pids

Karsten kap at os.dk
Fri Jul 28 21:49:55 CEST 2006


Paul Hansen skrev:
> Karsten wrote:
>> Paul Hansen skrev:
>>>
>>> This works from handleScript:
>>>
>>> $orderUid = $this->basketView->order->getBlankUid();
>>>
>>> Take care,
>>> Paul
>>
>>  Yes it did, thanks Paul i have used it in too places, in line 54 and 84.
>>
>> But now i got this:
>>
>> Fatal error: Call to a member function priceFormat() on a non-object 
>> in mysite.com\typo3conf\ext\tt_products\pi1\payment_DIBS.php on line 167
>>
>> and the line 167 is:
>> <input type="hidden" name="ordline'.$cc.'-4" 
>> value="'.$pibase->price->priceFormat($actItem['totalTax']).'">';
> 
> Other changes needed are along these lines:
> 
> $price = 
> $this->basket->price->priceFormat($this->basket->calculatedArray['priceTax']['total']); 
> 
> 
> And this:
> 
> $this->basketView->order->finalize(
>     $this->basketView->templateCode,
>     $this->basketView, $this->basketView->viewTable,
>     $this->basket->price,
>     $orderUid, $content, $tmp='');
> 
> I'm not using DIBS; I wrote a handleScript for another payment gateway.
> 
> I think I read in the newsgroup that the DIBS handleScript is 
> depreciated due to changes at DIBS, which might explain why it hasn't 
> been updated to keep pace with the many recent changes/improvements to 
> tt_products.
> 
> Another, newer way to handle payments in tt_products is with paymentlib. 
> It looks like implementations are available for tt_products sponsors.
> 
> Take care,
> Paul
Hi Paul

What kind of gateway do you use? and is it possible to get a copy of the 
handlescript (sponser), im not that strong in php.

Karsten



More information about the TYPO3-project-tt-products mailing list