Woocommerce paypal payments plugin confilict

This topic has 19 replies, 2 voices, and was last updated 1 years, 9 months ago ago by Alessandro

  • Avatar: Alessandro
    Alessandro
    Participant
    August 15, 2023 at 21:02

    Hello,

    referring to the paypal purchase option, if order is made as guest all goes well but if order is made as logged in user something went wrong and the paypal popup appears just for a while and then disappears.

    I just realized it and I don’t know when the issue occured, anyway I’ve deactivated all plugins and issue persists but once a switched to the default theme the issue disappeared.

    Here the error I get
    https://postimg.cc/p9yPmyD4

    I’ve created a staging site so you can safetly have your test there.

    Thanks in advance for the support
    Alessandro

    Please, contact administrator
    for this information.
    18 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 16, 2023 at 07:21

    Hello, Alessandro,

    Thank you for contacting us and for using XStore.

    We can’t open your site, please check the screenshot in the Private Content area. Could you disable the restriction?

    Also, please provide the URL of the plugin site.

    Did you test it exactly with the default WooCommerce theme – Storefront?

    Kind Regards,
    8theme team

    Please contact administrator
    for this information.
    Avatar: Alessandro
    Alessandro
    Participant
    August 16, 2023 at 13:34

    Hello, sorry I forgot to mention the firewall monitoring system.
    I’ve just create a pass for u, check it in the private content area please.

    This is the plugin page:
    https://it.wordpress.org/plugins/woocommerce-paypal-payments/

    I tested it with the default theme that was installed in my wp site, Twenty Twenty. You ‘ll be able to see it once logged in to the admin dashboard.

    Thanks!

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 16, 2023 at 15:25

    Hello, Alessandro,

    Thank you for your response.

    1/ https://gyazo.com/ad93420b57cc424c477eebc2828a3392
    2/ https://prnt.sc/2gspZG7mbyk_
    3/ Fields with XStore Theme ( https://prnt.sc/65WBoL5Bx9DF ) vs Twenty Twenty ( https://prnt.sc/CBgfI5Kx73RI )
    As we can see, all works fine, the Paypal popup does not disappear in case https://prnt.sc/2gspZG7mbyk_

    Kind Regards,
    8theme team

    Avatar: Alessandro
    Alessandro
    Participant
    August 16, 2023 at 15:50

    Hi Rose,

    I don’t understand, do u have fixed the issue?
    Because now in the staging site there’s no problem, but when I have created the ticket it were.
    I give you test user credentials to verify it in the live site, please check the private content area.

    Thanks

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 16, 2023 at 16:02

    Hello, Alessandro,

    We did not see the problem on your staging site.

    Please record a video of the problem from your live site. Upload the video on a filesharing service, for example – https://wetransfer.com/ , and provide us with URL.

    Kind Regards,
    8theme team

    Avatar: Alessandro
    Alessandro
    Participant
    August 16, 2023 at 18:54
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 16, 2023 at 19:15

    Hello, Alessandro,

    Thank you for your response.

    With the access, you provided we can’t access the Dashboard of the site. Please check.

    Please compare activated plugins and their versions on both sites, also check custom codes there to find out why only on 1 site do the PayPal payments work.

    Did you test how it works with the Storefront theme, not Twenty Twenty, on your live site?

    Private Content

    Kind Regards,
    8theme team

    Please contact administrator
    for this information.
    Avatar: Alessandro
    Alessandro
    Participant
    August 16, 2023 at 19:44

    This is the test with storefront, all works well
    https://share.vidyard.com/watch/bkDNDMbqcEfdrxdvAi5KcV?

    The staging site it’s an exactly copy of the live one, no different plugins version or any different code or costumization.
    Yesterday when I posted this ticket I’ve of course checked the staging, I’ve created it just right to be able to have a test without to have to take my live site down to mainteneance mode.

    I’ve just added to the live site the same admin user with same credentials I provided you for the staging site. Please be careful working on it

    Thanks in advance

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 17, 2023 at 06:40

    Hello, Alessandro,

    We can’t log in to the site now. What is the URL of the page with the login form? /wp-admin/ redirects to *****pro.com/profile/ page, no login form there.

    Please check one more time the private Content area in my previous response. There is js error – TypeError: Cannot read properties of undefined (reading ‘country_code’) – we would recommend you to contact the plugin support about this error.

    Kind Regards,
    8theme team

    Avatar: Alessandro
    Alessandro
    Participant
    August 17, 2023 at 12:46

    Hello, I’ve double checked the login in the live site and I confirm that I can do it without any issue as well as yesterday.
    You can see it in the private content area.

    You have both page and user pass in previous private area messafes.

    Also, I’m going to contact the “Woocommerce paypal payments” plugin support too reporting the error you show me.

    Thanks for the support

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 17, 2023 at 13:08

    Hello, Alessandro,

    Thank you for your response.
    Please check the video in the private content area, that shows the redirect so we can’t log in.

    Kind Regards,
    8theme team

    Please contact administrator
    for this information.
    Avatar: Alessandro
    Alessandro
    Participant
    August 17, 2023 at 13:37

    I don’t understand why, as you saw here there isn’t any redirect.

    At this point I have deactivated the maintenance mode so you should now be able to login as admin.

    Once logged in please enable maintenance mode from the XStore control panel before to do anything. Also, if you switch to storefront theme please, before to do it, activate the yith maintenance mode plugin from Appareance-Maintenance mode-General-Enable Maintenance mode.

    Thanks for the collaboration

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 17, 2023 at 13:48

    Hello, Alessandro,

    Thank you for your response.

    From the error, you can see that country_code is needed, and when Storefront is activated there are next fields available https://prnt.sc/OFWNXEapJZyd , but with XStore – https://prnt.sc/y6fm3640cYVj How you disable the country from checkout? Please enable it back and check paypal payments after that.

    Kind Regards,
    8theme team

    Avatar: Alessandro
    Alessandro
    Participant
    August 17, 2023 at 14:05

    Thanks for the update, I can for sure try it.. anyway, how do you explain that guest user can procede without to enter the same country field?

    Same for the staging site, no country fields but it’s working..?

    I always used that fields in my store.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 18, 2023 at 06:37

    Hello, Alessandro,

    Thank you for your response.

    This question should be addressed to paypal or Woocommerce plugin, not to theme authors.

    Kind Regards,
    8theme team

    Avatar: Alessandro
    Alessandro
    Participant
    August 18, 2023 at 15:00

    Hello,

    yes u’re absolutely right.

    Just another thing please, in the XStore dashboard I see that support is expired, it doesn’t change my life since here I can see that the license was reniewed correctly. But, any way to have it fixed?

    https://postimg.cc/nsD0R2Xv

    thanks

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 18, 2023 at 15:08

    Hello, Alessandro,

    Please click on this icon – https://prnt.sc/mlt6qyhMciCM

    Kind Regards,
    8theme team

    Avatar: Alessandro
    Alessandro
    Participant
    August 19, 2023 at 14:11

    Perfect thanks as always for the support.

    Just in case that anyone will have my same problem.. I solved it using this filter:

    function unrequire_checkout_fields( $fields ) {
    $fields[‘billing’][‘billing_company’][‘required’] = false;
    $fields[‘billing’][‘billing_city’][‘required’] = false;
    $fields[‘billing’][‘billing_postcode’][‘required’] = false;
    $fields[‘billing’][‘billing_country’][‘required’] = false;
    $fields[‘billing’][‘billing_state’][‘required’] = false;
    $fields[‘billing’][‘billing_address_1’][‘required’] = false;
    $fields[‘billing’][‘billing_address_2’][‘required’] = false;
    return $fields;
    }

    Best Regards
    Alessandro

  • Viewing 19 results - 1 through 19 (of 19 total)

The issue related to '‘Woocommerce paypal payments plugin confilict’' has been successfully resolved, and the topic is now closed for further responses

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.