Woocommerce Dynamic Endpoiint URL
-
Thanks for the great plugin. Its been really helpful. I’ve been able to whitelist of all my url except one with the woocommerce endpoint. How do i whitelist a url like this PLEASE.
https://example.com/checkout/order-pay/1857/?key=wc_order_594ce02f83eed
https://example.com/checkout/order-pay/1742/?key=wc_order_594c20c9e629e
Customers are redirect to this page after payment.
I tried
$whitelist[] = site_url( ‘/checkout/order-pay//?key=’ . $_SERVER[‘QUERY_STRING’] ); – but failed. Any ideas please.
HUGE THANKS IN ADVANCE
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Woocommerce Dynamic Endpoiint URL’ is closed to new replies.