GF Stripe Add-on Not Acceptable error

I’m using the GF Stripe Add-on set up with “Stripe Payment Form (Stripe Checkout, SCA-ready)” option. When payment is passed successfully it then redirects back to the page and on the website I get the error " Not Acceptable!

An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security."

I tried modifying .htaccess with

SecFilterEngine Off SecFilterScanPOST Off

but it’s not working. Tried it on several browsers and getting the same issue.