Stripe Settings

Once you are satisfied with the Stripe checkout payment process, you can make the Stripe Payment gateway live to accept payment online from a real customer.


 

Login to your Stripe account and go to the Developers » API keys page.

Collect the API keys (Publishable key and Secret key) from the Live Data section.

In the config.php file,Specify the Live API keys (Publishable key and Secret key) in Stripe API constants (STRIPE_API_KEY and STRIPE_PUBLISHABLE_KEY).


 

Errors

Not Acceptable!

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

How to Fix the mod_security Error?


 

1. Contact your Host

As you have already learned, it is a server-side error and the easiest and safer fix for the error would be contacting your hosting provider. You can contact their support team and explain your issue. They will most likely solve the issue by disabling certain security rule(s) or by whitelisting the requested page.

 

2. Disable mod_security for Specific URLs

With this method, you can disable mod_security only on specific URLs rather than your entire site, which is a better option in terms of security. You can specify which URLs to match via the regex in the <If> statement below.

 

<IfModule mod_security.c>

<If "%{REQUEST_URI} =~ m#/admin/#">

SecFilterEngine Off SecFilterScanPOST Off

</if>

</IfModule>


 

3. How to disable Mod_security through cPanel

Some hosts provide modsecurity option in cPanel also not all hosts where you can disable the mod_security

in to cPanel, under the Security section, click on ModSecurity.


Usamos cookies para melhorar sua experiência de navegação, veicular anúncios ou conteúdo personalizado e analisar nosso tráfego. Ao clicar em “Aceitar”, você concorda com o uso de cookies. saiba mais

Permitir