Get started
Customization
Troubleshooting
- Troubleshooting
- Embedded checkouts in WooCommerce
- Callbacks
- Files to exclude from optimization
- Checkout blocks in WooCommerce
- Troubleshooting the checkout flow
- Troubleshooting the Pay for order/Hosted Payment Page Redirect flow
- Troubleshooting the recurring payments flow
- Pending payment orders and held stock
- Home
- /
- Avarda Checkout for WooCommerce
- /
- Troubleshooting
- /
- Callbacks
Callbacks
After the order has been placed in WooCommerce and with Avarda, there are a number of http requests back and forth to keep WooCommerce and Avarda in sync. It’s important that these requests can be executed without being blocked, otherwise the customer will not be able to create an order in WooCommerce.
This article specifically addresses measures regarding Avarda. For a general overview of what you might need to do to prevent callback issues, please see this Krokedil general support info: Callbacks article.
Be aware of firewalls and security plugins
If you have a firewall solution or a security plugin installed those could block access to the WC-API endpoints and by that making the callbacks to fail. If you are using Cloudflare CDN and their WAF Firewall (or other WAF/CDN too like Sucuri or similar server hosting firewalls) you need to create a specific Page Rule to whitelist the API-calls that is needed for the Avarda plugin to work properly.
We recommend (if possible) to whitelist:
https://domain.topdomain/wc-api/*
But if you want to specify what URLs to whitelist you can use these:
https://domain.topdomain/wp-json/aco/shipping/*