[TYPO3-paymentlib] Donations - no donation record is inserted

Tonni Aagesen goes.to at dev.null
Mon Jun 11 22:06:31 CEST 2007


Brian Bendtsen wrote:

> The code that should redirect to my receed function:
> 
> $transactionResultsArr = 
> $providerObj->transaction_getResults($paymentReference);

Try inserting "var_dump($paymentReference, $transactionResultsArr); 
exit;" here and see if it gives any clues.

>         if (is_array ($transactionResultsArr)) {
>             if ($transactionResultsArr['state'] == 500) {
>                 header ('Location: 
> '.t3lib_div::getIndpEnv('TYPO3_SITE_URL').$this->pi_getPageLink($GLOBALS['TSFE']->id, 
> '', array('tx_indmeldelse_pi1[receed]' => 'receed')));
>                 exit;
>             } else {
>                 $message = 'Payment declined';
>             }
>         }
> 
> The transaction with the correct paymentReference and the state = 500 is 
> present in the database, so why am I not redirected?


-- 
Regards
Tonni Aagesen
www.pil.dk & www.quickpay.dk


More information about the TYPO3-project-paymentlib mailing list