| Thursday 26 August 2010 4:12:13 am 
                                                                
                                                                 Hi, I have problem with my own payment gateway. I've used eZpayplal extension to help. After commenting and disabling almost everything that was in eZpaypal I have this code, which is still working (I can select Paypal gateway called 'Paypal'). I wrote almost the same code, but it doesn't work. (I can't select my gateway called 'DotPay'). This is rest of Paypal code: define( "EZ_PAYMENT_GATEWAY_TYPE_PAYPAL", "ezpaypal" );
class eZPaypalGateway extends eZRedirectGateway
{
    function eZPaypalGateway()
    {
            $this->logger   = eZPaymentLogger::CreateForAdd( "var/log/ambDotPayType.log" );
            $this->logger->writeTimedString( 'eZPaypalGateway::eZPaypalGateway()' );
    }
}
eZPaymentGatewayType::registerGateway( EZ_PAYMENT_GATEWAY_TYPE_PAYPAL, "ezpaypalgateway", "Paypal" );And this is my code: define( "EZ_PAYMENT_GATEWAY_TYPE", "ezdotpay" );
class eZDotPayGateway extends eZRedirectGateway
{
    function eZDotPayGateway()
    {
        $this->logger   = eZPaymentLogger::CreateForAdd( "var/log/eZDotPayGateway.log" );
        $this->logger->writeTimedString( 'eZDotPayGateway::eZDotPayGateway()' );
    }
    
    function execute( $process, $event ) {
        
        return eZWorkflowType::STATUS_ACCEPTED;
    }
    
}
eZPaymentGatewayType::registerGateway( EZ_PAYMENT_GATEWAY_TYPE, "ezdotpaygateway", "DotPay" );I refresh autoload with the same result: ./bin/php/ezpgenerateautoloads.php -e -p What is overlooked? {$me|attribute(show,1)}
                                                                 |