I setup Authorize.net as our payment gateway. I enabled live mode in the Authorize.net control panel, however when I tried to create a transaction Invoice Ninja was still in test mode. I went to turn off test mode in the online payments section and the payment gateway is not listed. how can I disable test mode? we are self hosted running 4.5.17 any help would be appreciated.
Hi,
If you added the gateway already you should see it in the table on the bottom half of Settings > Online Payments.
You can click the name to navigate to the edit form to change the gateway settings.
Hi Hillel, I did add the gateway, however I do not see it in the table. for whatever reason it is blank.
Are there any errors in the browser console?
I see this error: Failed to load resource: the server/api/gateways https://ninja.domain.com/api/gateways?sEcho=1&iColumns=4&sColumns=%2C%2C%2C&iDisplayStart=0&iDisplayLength=10&mDataProp_0=0&bSortable_0=true&mDataProp_1=1&bSortable_1=false&mDataProp_2=2&bSortable_2=false&mDataProp_3=3&bSortable_3=false&iSortCol_0=0&sSortDir_0=asc&iSortingCols=1&_=1580132394862
Do you see any related errors on /errors
[2020-01-27 13:49:15] production.ERROR: Illuminate\Contracts\Encryption\DecryptException [0] : /var/www/ninja/vendor/laravel/framework/src/Illuminate/Encryption/Encrypter.php [Line 195] => The MAC is invalid. {“context”:“PHP”,“user_id”:1,“account_id”:1,“user_name”:“Michael Provenzano Sr.”,“method”:“GET”,“user_agent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.66 Safari/537.36”,“locale”:“en”,“ip”:“72.76.125.71”,“count”:1,“is_console”:“no”,“is_api”:“no”,“db_server”:“mysql”,“url”:“api/gateways”} []
[2020-01-27 13:39:57] production.ERROR: Illuminate\Contracts\Encryption\DecryptException [0] : /var/www/ninja/vendor/laravel/framework/src/Illuminate/Encryption/Encrypter.php [Line 195] => The MAC is invalid. {“context”:“PHP”,“user_id”:1,“account_id”:1,“user_name”:“Michael Provenzano Sr.”,“method”:“GET”,“user_agent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.66 Safari/537.36”,“locale”:“en”,“ip”:“72.76.125.71”,“count”:5,“is_console”:“no”,“is_api”:“no”,“db_server”:“mysql”,“url”:“api/gateways”} []
[2020-01-27 13:34:52] production.ERROR: Illuminate\Contracts\Encryption\DecryptException [0] : /var/www/ninja/vendor/laravel/framework/src/Illuminate/Encryption/Encrypter.php [Line 195] => The MAC is invalid. {“context”:“PHP”,“user_id”:1,“account_id”:1,“user_name”:“Michael Provenzano Sr.”,“method”:“GET”,“user_agent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.66 Safari/537.36”,“locale”:“en”,“ip”:“72.76.125.71”,“count”:4,“is_console”:“no”,“is_api”:“no”,“db_server”:“mysql”,“url”:“api/gateways”} []
[2020-01-27 13:34:42] production.ERROR: Illuminate\Contracts\Encryption\DecryptException [0] : /var/www/ninja/vendor/laravel/framework/src/Illuminate/Encryption/Encrypter.php [Line 195] => The MAC is invalid. {“context”:“PHP”,“user_id”:1,“account_id”:1,“user_name”:“Michael Provenzano Sr.”,“method”:“GET”,“user_agent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.66 Safari/537.36”,“locale”:“en”,“ip”:“72.76.125.71”,“count”:3,“is_console”:“no”,“is_api”:“no”,“db_server”:“mysql”,“url”:“api/gateways”} []
[2020-01-27 13:33:40] production.ERROR: Illuminate\Contracts\Encryption\DecryptException [0] : /var/www/ninja/vendor/laravel/framework/src/Illuminate/Encryption/Encrypter.php [Line 195] => The MAC is invalid. {“context”:“PHP”,“user_id”:1,“account_id”:1,“user_name”:“Michael Provenzano Sr.”,“method”:“GET”,“user_agent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.66 Safari/537.36”,“locale”:“en”,“ip”:“72.76.125.71”,“count”:2,“is_console”:“no”,“is_api”:“no”,“db_server”:“mysql”,“url”:“api/gateways”} []
[2020-01-27 13:30:15] production.ERROR: Illuminate\Contracts\Encryption\DecryptException [0] : /var/www/ninja/vendor/laravel/framework/src/Illuminate/Encryption/Encrypter.php [Line 195] => The MAC is invalid. {“context”:“PHP”,“user_id”:1,“account_id”:1,“user_name”:“Michael Provenzano Sr.”,“method”:“GET”,“user_agent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.66 Safari/537.36”,“locale”:“en”,“ip”:“72.76.125.71”,“count”:1,“is_console”:“no”,“is_api”:“no”,“db_server”:“mysql”,“url”:“api/gateways”} []
[2020-01-23 15:00:07] production.ERROR: Illuminate\Contracts\Encryption\DecryptException [0] : /var/www/ninja/vendor/laravel/framework/src/Illuminate/Encryption/Encrypter.php [Line 195] => The MAC is invalid. {“context”:“PHP”,“user_id”:1,“account_id”:1,“user_name”:“Michael Provenzano Sr.”,“method”:“GET”,“user_agent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.66 Safari/537.36”,“locale”:“en”,“ip”:“72.76.125.71”,“count”:3,“is_console”:“no”,“is_api”:“no”,“db_server”:“mysql”,“url”:“api/gateways”} []
[2020-01-23 15:00:00] production.ERROR: Illuminate\Contracts\Encryption\DecryptException [0] : /var/www/ninja/vendor/laravel/framework/src/Illuminate/Encryption/Encrypter.php [Line 195] => The MAC is invalid. {“context”:“PHP”,“user_id”:1,“account_id”:1,“user_name”:“Michael Provenzano Sr.”,“method”:“GET”,“user_agent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.66 Safari/537.36”,“locale”:“en”,“ip”:“72.76.125.71”,“count”:2,“is_console”:“no”,“is_api”:“no”,“db_server”:“mysql”,“url”:“api/gateways”} []
[2020-01-23 14:59:46] production.ERROR: Illuminate\Contracts\Encryption\DecryptException [0] : /var/www/ninja/vendor/laravel/framework/src/Illuminate/Encryption/Encrypter.php [Line 195] => The MAC is invalid. {“context”:“PHP”,“user_id”:1,“account_id”:1,“user_name”:“Michael Provenzano Sr.”,“method”:“GET”,“user_agent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.66 Safari/537.36”,“locale”:“en”,“ip”:“72.76.125.71”,“count”:1,“is_console”:“no”,“is_api”:“no”,“db_server”:“mysql”,“url”:“api/gateways”} []
[2020-01-23 13:36:27] production.ERROR: Illuminate\Contracts\Encryption\DecryptException [0] : /var/www/ninja/vendor/laravel/framework/src/Illuminate/Encryption/Encrypter.php [Line 195] => The MAC is invalid. {“context”:“PHP”,“user_id”:1,“account_id”:1,“user_name”:“Michael Provenzano Sr.”,“method”:“GET”,“user_agent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.66 Safari/537.36”,“locale”:“en”,“ip”:“72.76.125.71”,“count”:1,“is_console”:“no”,“is_api”:“no”,“db_server”:“mysql”,“url”:“api/gateways”} []
Is it possible the APP_KEY value in the .env file has changed? It could cause this error.