I have an e-commerce website running on woocommerce and I want to store order information in non-wordpress database. When a user clicks on Place Order
then the order details should get stored in a custom database.
Can anyone please suggest me with how can I achieve this? BTW I am a newbie to WordPress.