• Resolved Mattis

    (@ecomsight)


    Hello,

    I have multisite configuration and when clients use Click to Connect button to automatically set up their Paypal account, the Paypal popup does not automatically reload at the end to automatically fill out with Client ID / Secret key / Webhook information.

    There is the following message at the end of connection, which say integration with “Test Store” has been done (I’m not sure if Test Store should not be replaced by store name of wordpress side?)

    I have checked logs (wordpress / woocommerce / apache) and there is no error.. also deactivated all custom script fucntions and same issue.

    The only error found is the following one on Paypal API setting page but I don’t think it is related to this issue(?):

    Do you have an idea what can be the reason why it is not reloading automatically at the end of the connection with Paypal and does not fill out with all API information?

    Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Clayton R

    (@mrclayton)

    Hi @ecomsight

    I’m not sure if Test Store should not be replaced by store name of wordpress side?

    I believe that store name comes from the value associated with your PayPal business account. In sandbox mode, it will always say “Test Store” because that’s what PayPal defaults to when you create a sandbox business account.

    Do you have an idea what can be the reason why it is not reloading automatically at the end of the connection with Paypal and does not fill out with all API information?

    What happens when you click the “Return to the Test Store website”?

    Kind Regards

    Thread Starter Mattis

    (@ecomsight)

    Hi @mrclayton

    Thanks for your reply

    What happens when you click the “Return to the Test Store website”?

    It reloads the popup where the connection with Paypal was done, and loads the wordpress backoffice inside the popup (the Paypal API settings page), and all fields remain empty.

    On Paypal side new application is well created, and if I complete Secret key / Client ID fields manually on Paypal API settings page and click on Create Webhook button, Webhook ID is well fetched and saved.

    Would it be something on wordpress admin side blocking this automatic loading / fetching from Paypal? Did you already experience this type of issue?

    Edit:

    I did additional testing and found the following error on Paypal side before clicking on “Agree and connect” button:

    HF_ERR_HeaderNotFound {errorMsg: '[header-footer] could not find .merchant-header element. Cannot render header.', timestamp: '1705692427467'} hf.js:2

    Thank you for your support

    • This reply was modified 2 years, 4 months ago by Mattis.
    Plugin Author Clayton R

    (@mrclayton)

    Hi @ecomsight

    It reloads the popup where the connection with Paypal was done, and loads the wordpress backoffice inside the popup (the Paypal API settings page), and all fields remain empty.

    That doesn’t sound right. Are you using any plugins that load the WordPress admin in an iframe? There was a support thread some time ago where a merchant was having issues do to a plugin that was loading all requests to the WordPress admin in an iframe.

    In cases like this, I recommend manually entering your API keys to save time. https://docs.paymentplugins.com/wc-paypal/config/#/connect?id=manually-connect

    Kind Regards

    Thread Starter Mattis

    (@ecomsight)

    Hi @mrclayton

    I just figured out the issue, it is coming from Cross Origin Opener Policy that was set to same-origin-allow-popups. Changing it to unsafe-none works well, popup is automatically reloaded with Secret key / Client ID saved.

    Not sure if it is something that could be improve later on (the loading throughout popup) or if it is Paypal constraint.

    Thanks! (your Stripe / Paypal plugins are excellent)

    Plugin Author Clayton R

    (@mrclayton)

    Hi @ecomsight

    Thank you for confirming you were able to resolve the issue.

    Thanks! (your Stripe / Paypal plugins are excellent)

    Glad to hear you like them. If you have a moment, we always appreciate a good review.

    https://ww.wp.xz.cn/support/plugin/pymntpl-paypal-woocommerce/reviews/

    Kind Regards,

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Paypal connect issue’ is closed to new replies.