• Resolved molgannard

    (@molgannard)


    Hello,
    I am pretty new to wordpress development and woocommerce so apologies if this is confusing. I am trying to test out my shop page. I have paypal payments enabled as we want to only do paypal at the current moment. I enabled the paypal sandbox mode and created a new paypal account to use as my test account. I connected the test account to paypal and I was trying to purchase something on my site in an incognito window so any cache issues would not be a problem. I was able to log in to paypal using the customer sandbox account and after I pressed buy there was a loading animation that lasted for like 3 minutes and then an alert popped up with no text, and then I was still at the checkout screen. So there was no confirmation screen or anything. Here are the console logs errors

    GET https://b.sbox.stats.paypal.com/v2/counter.cgi?p=uid_b79e86660f_mtg6mjm6nty&s=SMART_PAYMENT_BUTTONS net::ERR_CONNECTION_TIMED_OUT
    Image (async)
    r.open._m @ fb.js:1
    (anonymous) @ fb.js:1
    nt.asyncData.initAndCollect @ fb.js:1
    (anonymous) @ fb.js:1
    (anonymous) @ fb.js:1
    load (async)
    E @ fb.js:1
    (anonymous) @ fb.js:1
    nt.asyncData.initAndCollect @ fb.js:1
    (anonymous) @ fb.js:1
    (anonymous) @ fb.js:1
    jquery.min.js?ver=3.6.0:2          
    POST https://vamospublications.com/?blocksy-header-id=type-1&wc-ajax=checkout&elementor_page_id=366 500
    send @ jquery.min.js?ver=3.6.0:2
    ajax @ jquery.min.js?ver=3.6.0:2
    s.ajax.s.ajax @ jquery-migrate.min.js?ver=3.3.2:2
    submit @ checkout.min.js?ver=6.7.0:1
    dispatch @ jquery.min.js?ver=3.6.0:2
    v.handle @ jquery.min.js?ver=3.6.0:2

    I then tried pressing buy again and the same thing happened.

    I checked my orders afterward and it seems that the first order went through, I received a processing order. The second order that I placed failed. The error message I received for the second order was Could not process order. Order status changed from Pending payment to Failed.

    As I said I am new to all this and it is possible that I did not set up my store correctly, I am wondering if anyone knows what the problem could possibly be. Any assistance would be greatly appreciated. Thank you.

    The page I need help with: [log in to see the link]

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

    (@niklasinpsyde)

    Hi @molgannard,

    Something is certainly not right on your linked site.
    After confirming the payment in the popup window with the “Pay now” button, this loading animation should maybe take a second or two before being redirected to the order received page. When the payment has been successful, there is only a problem with redirecting to the appropriate page.

    When the time runs out, I noticed this error:

    I have found a guide that may be helpful in this case: Request Timeout Error

    It may also be worth following the troubleshooting steps as described here: https://woocommerce.com/document/woocommerce-paypal-payments/#troubleshooting
    Most issues are caused either by conflicting plugin interactions or by the hosting setup, though PayPal Payments does not have any special hosting requirements.

    I hope this helps.
    Please let us know how this works out for you. Thanks!

    Kind regards,
    Niklas

    Thread Starter molgannard

    (@molgannard)

    I will try these fixes out. Thank you for the help, sorry for not responding sooner I was pretty busy the last couple days. Thanks again!

    • This reply was modified 2 years, 7 months ago by molgannard.
    Plugin Support Syde Joost

    (@joostvandevijver)

    Since we haven’t heard back from you, I’m going to mark it as resolved.
    In case you’re still having problems, feel free to let us know!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Trying to test shop’ is closed to new replies.