• Resolved kenior

    (@kenior)


    Hello everyone
    I got a problem when I tried to set up the woocommerce paypal checkout plugin.

    Here is the thing: The first time when I downloaded and installed this plugin,there is no error, and then I went to “woocommerce—-setting—-payment—-paypal” to setup(fill in my paypal account infomations) the plugin, the page which I got is diffirent than any others in the tutorial videos: instead of filling in the live API username/password/signature, the page asked me to fill in the live merchant ID/ live clinet ID/ live secret code. I found these informations in my paypal account developper section and filled in. and then, the error show up

    Fatal error: Uncaught WooCommerce\PayPalCommerce\ApiClient\Exception\RuntimeException: Could not create token. in /home3/speeddll/public_html/tacticalshop/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Authentication/class-paypalbearer.php:122 Stack trace: #0 /home3/speeddll/public_html/tacticalshop/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Authentication/class-paypalbearer.php(97): WooCommerce\PayPalCommerce\ApiClient\Authentication\PayPalBearer->newBearer() #1 /home3/speeddll/public_html/tacticalshop/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/src/Settings/class-settingslistener.php(150): WooCommerce\PayPalCommerce\ApiClient\Authentication\PayPalBearer->bearer() #2 /home3/speeddll/public_html/tacticalshop/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/src/class-wcgatewaymodule.php(236): WooCommerce\PayPalCommerce\WcGateway\Settings\SettingsListener->listen_for_vaulting_enabled() #3 /home3/speeddll/public_html/ in /home3/speeddll/public_html/tacticalshop/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Authentication/class-paypalbearer.php on line 122

    Then, I tried to delete the plugin and reinstall it. and right now, I even cannot enter into the paypal setup page. That means when I go to woocommerce—setting—payment—paypal. the error shows up, I have no access into the filling live Merchant ID page, directly error page.

    I dont a web developper and no any knowladge about the PHP code. someone can help me?

    thank you in advance

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @kenior,

    This error may appear when you enter incorrect credentials in the manual connection fields. You can restore the plugin settings page by deleting woocommerce-ppcp-settings in the wp-options database table for example via phpmyadmin. This will remove the incorrect credentials and allow you to visit the settings again.
    Apologies for the trouble, this issue is resolved for our next update which will be released soon.
    In the meantime, I suggest onboarding by logging into your PayPal merchant account as this is the easier way to connect your account compared to the manual connection.
    If you encounter any issues with this, please let us know.
    Thanks!

    Kind regards,
    Niklas

    I am having the identical problem. I upgraded to PayPal Payments and when I try to go to the Settings I get the same error as @kenior when I try to go to the settings. I looked at the values in the woocommerce-ppcp-settings entry in the database, and the credentials are identical to my what I have stored in Evernote, so I don’t believe this is a credentials problem. I assume these are the settings from the PayPal Gateway plugin, since I was not able to get to the PayPal Payments settings at all.

    Before installing the plugin on my live system. I created a backup of the site with the Duplicator system and created a test store. When I upgraded to PayPal Payments I was able to get to the settings, but I got an error when I clicked the save button. When I re-opened the admin page it worked and I was able to get back to the settings, and the store front end worked properly.

    I am going to re-spin the test store and do some more testing. I’ll let you know if I find anything out.

    Okay. I deleted the PayPal Payments plugin on the live store, reinstalled it, and used the “log in to merchant account” option. It created a new developer account for me, with new credentials. And not it’s working, although I’m still trying to get all the payment buttons to appear on all the places they used to.

    If you are not going to allow an upgrade from PayPal Gateway and use existing credentials, why did you even provide the manual option? For that matter, why didn’t you just update the existing plugin, instead of making us jump through all these hoops?

    The new plugin had damned well better have enough new functionality to make it worthwhile wasting my afternoon on getting it to work.

    Plugin Support Andreas W.

    (@aweissinpsyde)

    Hello @kurtgschumacher

    please make sure you are using a PayPal business account in the same country where your shop is based and then try to connect it again, please.

    The manual option is working fine but it seems you cant use your API details for PayPal Payments or wrong.

    Thank you
    Regards
    Andreas

    Plugin Support Andreas W.

    (@aweissinpsyde)

    Closed because of inactivity

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘There has been a critical error on this website when I setup woocommerce paypal’ is closed to new replies.