Tutorial by Examples

/*add this code to your function.php file now your api will include transaction_id */ add_action( 'woocommerce_api_order_response', 'my_woocommerce_api_order', 10, 2); function my_woocommerce_api_order( $data ) { //you can do anything with the $data here lets add the transaction id ...

Page 1 of 1