Invoice link for customers (wp-admin/admin-ajax.php)
-
We have protected the wp-admin folder of our site/store so that only specific IP addresses are allowed for managing the site and store, for security reasons.
However, it turns out that the link to enable customers to download their invoices is /wp-admin/admin-ajax.php?action=generate_wpo_wcpdf&document_type=invoice&order_ids=xxxxx&my-account&_wpnonce=xxxxxxxxxxx
So this results in customers to be unable to download their invoices. Everything else in the My Account area works perfectly.
Any hints on an extra entry in the .htaccess to allow public access to wp-admin/admin-ajax.php?action=generate_wpo_wcpdf only?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Invoice link for customers (wp-admin/admin-ajax.php)’ is closed to new replies.