From 886b573a4a3000a33dffe3110b7d4890ca9b9827 Mon Sep 17 00:00:00 2001 From: Avik Aghajanyan Date: Mon, 10 Sep 2018 00:17:15 +0400 Subject: [PATCH] Update HasGatewayParams.php Avoid "Class 'Omnipay\AuthorizeNetApi\Traits\InvalidRequestException' not found" error --- src/Traits/HasGatewayParams.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Traits/HasGatewayParams.php b/src/Traits/HasGatewayParams.php index c41fab6..d944ba4 100644 --- a/src/Traits/HasGatewayParams.php +++ b/src/Traits/HasGatewayParams.php @@ -2,6 +2,8 @@ namespace Omnipay\AuthorizeNetApi\Traits; +use Omnipay\Common\Exception\InvalidRequestException; + /** * Gateway setters and getters shared across all gateway types. */