I am copying and pasting my button codes to my product pages in woocommerce and as soon as I click update it sends me to my homepage. Very strange, any help would be appreciated.
It doesn't save the button codes and just redirects me to my homepage.
We can't help you with whatever WooCommerce itself is doing when you try to update your page there, but this help page explains how to use an E-junkie purchase link in your WooCommerce product page:
Share and learn in the E-junkie community.