Hi, @astreck2.
Glad you reached out.
The success page taking time to load should not be directly related to webhooks, but it doesn’t hurt to double-check the webhooks settings.
The webhook endpoint is a URL that you need to copy and paste into a specific tab of the Stripe Dashboard, and then configure to receive the following events:
checkout.session.completed
payment_intent.succeeded
payment_intent.payment_failed
charge.refunded
customer.subscription.created
customer.subscription.deleted
invoice.payment_failed
invoice.payment_succeeded
Our documentation (with screenshots!) on setting up the webhook is here:
https://givewp.com/documentation/add-ons/stripe-gateway/#connecting-stripe-and-your-webhook-required
If the webhook is correctly configured, you should see a record in the logs at Donations > Tools > Logs > Stripe for every event at Stripe (going forward).
Something you should also check is if your theme or other plugins are interfering with the loading time. Sometimes, themes and plugins can request certain scripts and then slow down the website. Here is how you can test it:
Step 1: Disable Plugins
- In the dashboard, navigate to the “Plugins” menu on the left sidebar.You will see a list of all your installed plugins. Select the checkboxes next to the plugins you want to disable.
- After deactivating the plugins, visit your website to see if the issue has been resolved. If it’s fixed, the problem was likely caused by one of the plugins.
Step 2: Enable Plugins One by One
- To identify the specific plugin causing the issue, re-enable your plugins one at a time.
- After reactivating each plugin, check your website to see when the issue reappears. This will help you pinpoint the problematic plugin.
- Once you identify the problematic plugin, you can leave it deactivated, update it, or seek support for a fix.
Step 3: Troubleshoot Themes
If the issue persists even after deactivating plugins, you may need to check if your theme is causing the problem.
- Go to the “Appearance” menu in your dashboard.
- Click on “Themes” to see the list of installed themes.
Step 4: Activate a Default Theme
- Activate a default WordPress theme like Twenty Twenty or Twenty Twenty-One. To do this, click the “Activate” button on the default theme you want to use.
- Check your website to see if the issue is resolved. If it is, your original theme may be causing the problem.
You can also learn more about troubleshooting using our documentation here:
https://givewp.com/documentation/resources/troubleshoot-wordpress-websites-health-check/
https://givewp.com/documentation/resources/how-to-troubleshoot-your-website-like-a-wordpress-support-engineer/
Let me know how it goes. I’m looking forward to helping you get to the bottom of this!