academe / OmniPay-Payone

A PAYONE gateway driver for the OmniPay framework
MIT License
15 stars 16 forks source link

Invalid request leads to fatal error #31

Closed nschilling closed 6 years ago

nschilling commented 6 years ago

I'm getting a fatal error when creating an invalid request on branch 3.0.0:

Fatal error: Class 'Omnipay\Payone\Traits\InvalidRequestException' not found in ... academe/omnipay-payone/src/Traits/HasGatewayParams.php on line 85

I think there's an import missing in file /src/Traits/HasGatewayParams.php. Adding use Omnipay\Common\Exception\InvalidRequestException; seems to fix the Issue.

judgej commented 6 years ago

Thanks - should be fixed. I'll do a debug release shortly.

nschilling commented 6 years ago

Thanks. Updated to 3.0.1 and the error is gone.