Woocommerce – Close order on custom payment method
-
Goodmorning everyone!
I hope not to “get out” from the forum rules by writing my request here.I’m creating a custom payment method to allow my client to accept payments through his bank’s virtual pos.
I followed this guide to create a simple payment method:
https://www.skyverge.com/blog/how-to-create-a-simple-woocommerce-payment-gateway/At the moment I can pass the cart data and send it correctly to the bank.
But I would need to understand how to manage the return to the site after the payment in order to close the order and show the thank you page.Which function I need to add in my plugin to get return value e close my order?
Can someone help me?Many thanks!
The topic ‘Woocommerce – Close order on custom payment method’ is closed to new replies.