Insert row in another table after purchase
-
Hi everyone!
Perhaps a strange question, but can’t find the answers on this forum. Who can point me in the right direction?
I need the following: when a product is sold in WooCommerce, a serial code will be generated in the plugin WC Serial Numbers (a digital giftcard). When the transaction is completed, I want a part of that data (the serial code and soms static info) also inserted in another table in WordPress (a booking plugin). So when the purchase is completed, the sold code will be inserted in the booking plugin coupon section, to be used when actually creating the booking.
Hope anyone knows a good plugin or solution for this!
Thanks in advance!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Insert row in another table after purchase’ is closed to new replies.