• Resolved vervelover

    (@vervelover)


    Hi,

    I updated my site yesterday with the latest version of you plugin. After updating I tested a payment, everything was working fine.

    Today on checkout I get this error:

    Error initializing plugin api. This happens when you haven’t finished configuring your API.

    Production connection test is fine, I also contacted Braintree support but this is urgent and I don’t know if the problem is theirs or comes from this plugin’s update.

    I had to disable the plugin because the error message was getting the focus on scroll, so customers couldn’t even use another mean of payment. I would suggest you to disable this kind of auto focus on errors as it makes things worse for customers, or maybe make it happen only once.

    Thank you for your help,

    Alessio

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    @vervelover,

    The error messages don’t lie. You need to login to your Braintree account and re-generate your API keys then enter the new values.

    If that doesn’t work then most likely Braintree has put a hold on your account for whatever reason and you’ll need to contact them for the reason.

    Kind regards,

    Thread Starter vervelover

    (@vervelover)

    Hi,

    thank you for your support, this is very strange because I’ve been using the plugin with Braintree without issues for the last 3 years, and the error occured the day after I updated it. I also tried generating new API keys, the connection test is always succesful but the error remains. Anyway I’ll wait for Braintree support answer and let you know,

    Thank you for your help,
    Alessio

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @vervelover,

    For a faster response I recommend you call Braintree’s support number.

    You could always revert back to the older version of the plug-in and test if it works we know there’s some compatibility issue with the new version.

    Thread Starter vervelover

    (@vervelover)

    Hi @mrclayton,

    thanks again for your help. I discovered the issue is indeed with the plugin. I had the google-material-form.php template overidden in my theme, so I thought that maybe I needed to update to the new template taking it from your plugin files. But the error was always there. So I decided to use a clean google-material-form.php template copied directly from you plugin dir to my theme without any modifications, just as-is, and the error was there again.

    So the issue is present only if I override google-material-form.php in my theme, even if I override it using a clean template.

    For now I just removed the override, but I wanted to put some extra text on top of the form so it would be nice if I could use the template again.

    Thank you for your help,
    Alessio

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @vervelover,

    If you navigate to the WooCommerce > Status > Logs page you will see a drop-down and one of the options is to view the failure logs.

    All exceptions are printed to that log and you can see what error is being thrown in your form. Because the google form is working from our plugin then it’s possible you have a syntax error in your php that you added to your override.

    Kin regards,

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error initializing plugin api’ is closed to new replies.