Why did my PayPal button refresh my page instead of redirecting to a PayPal checkout page?
Your PayPal button refreshed your page instead of redirecting buyers to PayPal.
Cause
This indicates an issue with the HTML site code. Commonly, this occurs if a <form> tag wasn’t appropriately closed somewhere before the PayPal button code on your site.
Solution
Add a </form> tag just before the PayPal button code. Review your HTML code to determine where the open form is and add the </form> tag in the website code to close the form at the appropriate spot.