Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- // sr_post_callback is called by Shoprocket when an order completes
- var sr_post_callback = function(result, total, shipping, items, email) {
- // The result of the order
- console.log(result);
- // The total order value
- console.log(total );
- // The shipping details
- console.log(shipping);
- // The order items
- console.log(items);
- // The customer email address
- console.log(email);
- };
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement