Adding code to success page
-
I need to provide some code for our client to add to his success page that will send some data to our server to create a DRM token. I have installed WooCommerce for WordPress and it looks like line #65 on /templates/order/order-details.php may be useful.
What I need is the data pertinent to the transaction:
- invoice id
- item id
- item name
- item description
Can I use $order, $item_id, $item, $product in our code that we add to send those details? If not what do you recommend?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Adding code to success page’ is closed to new replies.