• Resolved woodypad

    (@woodypad)


    Hello,
    there is a problem with this new plugin of yours.
    I have always used the other has always worked well.

    I installed this new plugin of yours on a new site, with just woocommerce and wpbakery.
    I configured your payment plugin, entered the paypal data manually, and after saving it no longer makes me access the settings. The page goes blank and an error message is returned.

    A critical error has occurred on your website. Check the site administrator’s inbox for instructions.

    I had to restore from the backup, because there was also no way to go inside the plugin settings, even if I uninstalled and reinstalled.

    Thank you

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Support Andreas W.

    (@aweissinpsyde)

    Hello @woodypad

    please uninstall the plugin completely and install it again. After please use the wizard to connect your PayPal account.

    Thank you
    Regards
    Andreas

    Thread Starter woodypad

    (@woodypad)

    Hello @aweissinpsyde,
    as I wrote before, I have already uninstalled and reinstalled several times, but the error remains, and you can no longer access the plugin settings.
    To fix it, I had to restore the site backup.

    I don’t like wizards. In fact you have foreseen the manual procedure, but it has a problem apparently.

    Thank you

    Plugin Support Andreas W.

    (@aweissinpsyde)

    @ratputin @enmanueltorras @woodypad @andreas

    please add

    // Remove all data on uninstall
    define(‘WC_REMOVE_ALL_DATA’, true);

    to your wp-config.php and uninstall the plugin, please. After just install it again. Also, please use the wizard to connecting to your PayPal account. The manual mode can cause that error

    Thank you
    Regards
    Andreas

    I believe I have discovered the issue and the solution.

    Symptom: Critical error when attempting to the Manage Settings of – or Activating – the Paypal plugin (v1.3.2)

    Issue: Option table name “woocommerce-ppcp-settings” holds residual information when disconnecting Site from Paypal.

    Solution:

    1.Open phpMyAdmin and navigate to Database Name > wp_options > woocommerce-ppcp-settings

    2. Edit the value (best to copy/paste it into a text editor)

    3. Replace the text starting at s:26:”Pay with your credit card.” and ending at “disable_funding”;a:0:{} with the following:

    s:26:"Pay with your credit card.";s:13:"vault_enabled";b:0;s:10:"sandbox_on";b:0;s:20:"products_dcc_enabled";N;s:24:"client_secret_production";s:0:"";s:20:"client_id_production";s:0:"";s:13:"client_secret";s:0:"";s:9:"client_id";s:0:"";s:11:"merchant_id";s:0:"";s:14:"merchant_email";s:0:"";s:22:"merchant_id_production";s:0:"";s:25:"merchant_email_production";s:0:"";s:22:"merchant_email_sandbox";s:0:"";s:19:"merchant_id_sandbox";s:0:"";s:17:"client_id_sandbox";s:0:"";s:21:"client_secret_sandbox";s:0:"";s:6:"intent";s:7:"capture";s:24:"capture_for_virtual_only";b:0;s:15:"payee_preferred";b:0;s:12:"landing_page";s:5:"LOGIN";s:15:"disable_funding";a:0:{}

    4. Paste all into the value field and select “Go.”

    This will restore the Paypal connection to a default state and make the “get started” message re-appear.

    Hope this can help others experiencing this issue.

    Plugin Support Andreas W.

    (@aweissinpsyde)

    Hello @ratputin @enmanueltorras @woodypad

    we were able to reproduce that error and it comes from when setting up the connecting to PayPal manually with wrong access details.

    I would highly recommend checking the PayPal My App & Credentials. There you can see your Clients ID and Secret. Also please make sure you add the right Account ID what can be found under the Accounts in your PayPal Dev dashboard.

    But the best way would be to use the wizard to set up the plugin.

    Have a nice day
    Regards
    Andreas

    Plugin Support Andreas W.

    (@aweissinpsyde)

    @ratputin

    when you delete woocommerce-ppcp-settings in wp_options the plugin will create a new one after you reload the plugin settings directly from scratch. So you no need to replace it

    @andreas Yes, if the wrong credentials are used, the issue arises and there is no way to change the creds in the interface. As this is a live site, it was preferable not to replace all the options, we just needed to fix the Paypal error.

    Plugin Support Andreas W.

    (@aweissinpsyde)

    Hello @ratputin

    our developers are already aware of it and we will fix that asap.

    Thank you for reporting that issue.

    Have a nice day
    Regards
    Andreas

    Plugin Support Andreas W.

    (@aweissinpsyde)

    Closed because of inactivity. Also that issue will be fixed with the next update

    Thread Starter woodypad

    (@woodypad)

    Hello,
    were you able to solve the problem?
    I had written it at the beginning of the ticket that the problem is with the manual configuration.

    As far as I’m concerned, the setup wizard doesn’t work, because it points to the site: sandbox.paypal.com
    This does not recognize my credentials.

    Instead my sandbox account has access from: developer.paypal.com
    From this link I can access quietly.

    This forces me to use manual configuration, but when using your new plugin it creates the error we talked about.

    I’m waiting
    Thank you

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @woodypad

    did you already test this with the 1.4.0 release? This release was done on Jul 27th.
    Did you update the plugin and test this already? (we actually already release 1.5.0 this week).

    If this does not fix your issue, you might want to open a new thread, since it is not related to the issue discussed in this thread.

    Hope the update will fix this for you.

    Kind regards,
    Joost

    Thread Starter woodypad

    (@woodypad)

    Hello,
    i updated the plugin, now the manual configuration seems to be working.
    But no sandbox payment went through, it always asks you to login.

    “Error processing checkout. Please try again.”

    Probably because in your plugin I have not configured the “Sandbox Merchant Id” value that I don’t remember was there in your previous plugin and I can’t find it in other plugins either.

    Thank you

    • This reply was modified 3 years, 3 months ago by woodypad.
Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Critical error’ is closed to new replies.