Paypal is not defined


My Gravity Forms pages which have PayPal checkouts have started showing a JS error:

paypal is not defined

The error references: frontend.min.js.

This means that the PayPal checkout button is not invoked when the page loads - so no-one can complete an order.

Bizarrely, the problem goes away if I am logged in as the Administrator.

Have I missed something? Can someone please explain what is going on?!


Hello. If the error does not occur when you are logged in, the issue is most likely related to caching. Your logged in administrator visit would not normally be cached, but public website visits would be. That would explain the difference.

We recommend excluding any page with a form on it from caching. This plugin can do that for you automatically in most cases:

Here is another method if that plugin does not work for you:

If you have any other questions, please let us know.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.