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.
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)
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,