Advertisement
Guest User

Untitled

a guest
Mar 29th, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. <script type="text/javascript">
  2. // sr_post_callback is called by Shoprocket when an order completes
  3. var sr_post_callback = function(result, total, shipping, items, email) {
  4. // The result of the order
  5. console.log(result);
  6. // The total order value
  7. console.log(total );
  8. // The shipping details
  9. console.log(shipping);
  10. // The order items
  11. console.log(items);
  12. // The customer email address
  13. console.log(email);
  14. };
  15. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement