[TYPO3-paymentlib] tt_products 2.5.3 & paymentlib 0.3.0

Franz Holzinger franz at fholzinger.com
Wed Dec 12 10:37:09 CET 2007


Hello Richard,

>>> [20-Nov-2007 22:09:14] PHP Fatal error:  Call to undefined method
>>> tx_paymentlib_paypal_express_provider::getLibObj() in
>>> /var/www/bitfire.at/kunden/interhaar/typo3conf/ext/tt_products/lib/class.tx_ttproducts_paymentlib.php
>>> on line 99
> [...] 
>> There is already a working extension for Paypal available. Contact me
>> directly if you want to use and improve this code.
> 
> I did one more try to use paymentlib instead of the handleScript because
> you always recommend it and it simplifies some things. I solved the
> getLibObj() problem by inserting a function which returns basically
> null. But then tx_ttproducts_paymentlib::getTransactionId() returns
> false causing includeHandleLib() to fail with
> //...
>    return 'ERROR: transaction ID could not be generated'.
> //...
> 
> * Bug?: This error message is not printed but instead the order is
> finalized!

No, you must modify your extension to return the lib obj. This is needed
for tt_products ot create the transaction id.

> * To return an libobj, you use the PAYSUITE extension. How can I get it?
> Is there another way to get a valid transaction id?
> 
> * I am interested in the PayPal gateway because I want to use and
> improve it to PayPal Express Checkout (webservice). I'd publish my
> results under Apache2/GPL. Please send me what you have.

See this newslist.

> And one last question just to see if I am right: the latest
> tt_products/2.5.3 should work together with paymentlib/0.3.0 or at least
> 0.2.1 without problems, is this correct?

Yes, I think it works with both version.

- Franz



More information about the TYPO3-project-paymentlib mailing list