• Resolved Martin Sotirov

    (@martinsotirov)


    When saving the PP Plus settings page, a web profile gets created but if a profile with the same name already exists, the PayPal REST API returns a “Bad Request 400” error and then nothing gets saved to the “Sandbox Experience Profile ID” field. This leads to payments silently failing later during the checkout.

    You should add a check for this case and use the already existing web profile. If you have the plugin under version control somewhere, I can contribute a bug fix for this.

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

    (@aweissinpsyde)

    Hello @martinsotirov

    normally, it should not be possible two shops have the same Experience Profile ID. This ID will be generated from PayPal. Did you enter a valid Sandbox Live and Secret ID. These are different to the PP Live and Secret ID.

    You have to create your sandbox access details on https://developer.paypal.com/

    Thread Starter Martin Sotirov

    (@martinsotirov)

    Hi Andreas,

    Thanks for repsonding.

    I’m not talking about two shops using the same profile ID but about your plugin trying to generate a new web profile with the same name that it already generated previously. I had to manually send requests to the REST API to remove the web profile that your plugin previously created for my site.

    I’m talking about the update_profile function in the WCWebExperienceProfile class. When it doesn’t find a local ID, it tries to create a new web profile with a name that could already be used and it doesn’t handle the error response from PayPal properly.

    Plugin Support Andreas W.

    (@aweissinpsyde)

    Hello @martinsotirov,

    can you please fill up this form so we can have a closer look https://inpsyde.com/paypal-plus-fuer-woocommerce-support-formular/ You may also add some attachments please. You can send a email to [email protected] too

    Thank you so much

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Exception when creating a web profile with an already existing name’ is closed to new replies.