Answer the question
In order to leave comments, you need to log in
How to redirect to the "Thank you for the order" page in WooCommerce with sending an email?
Good evening
I'm making a custom payment module for WooCommerce through a not very well-known bank. The bank asks, among other data, to send them the following field:
Where in the value field should be the page to which the buyer will redirect in case of successful payment
I do this:<input name="SuccessURL" type="hidden" value="">
<input name="SuccessURL" type="hidden" value="https://site.ru/checkout/order-received/' . $data['order_id'] . '/?key=wc">
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question