I receiving a 504 Gateway Timeout error when I try to pay via PayPal or Stripe in Woocommerce. PayPal in Sandbox mode also causes an error with ajax request, although in the PayPal logs it is written that the payment was successful and in the WP admin panel it is clear that the subscription has been extended. Tried to disconnect plugins, it did not help. max_execution_time set to 500, also did not help. I did not try to change the theme yet, the Apache server is work on it. What else can I do?


  • we have the same problem and can't figure out what's wrong. Did you ever found what the problem was? – TOm May 28 '18 at 20:11
  • No, I didn't find the problem! – spoilt May 31 '18 at 4:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.