Why Won't My PayPal button work?

From HostBaby Wiki

Jump to: navigation, search

When using the PayPal button, people using Internet Explorer may get an error when they try to make a purchase using the PayPal button:

PayPalError.PNG


To fix your button so it works for everyone regardless of browser, you will need to add a little bit of code to your PayPal button code. Specifically, you will need to insert the code
target='_paypal'
Here's how:

  1. Log into the wizard site builder
  2. Click on the link for the page that contains your PayPal button (e.g. Products)
  3. Open the individual item that contains the PayPal button
  4. Click the HTML button the toolbar of the Toggle Editor (it is the next-to-last button on the toolbar). This will open up a new "HTML Source Editor" window (don't be intimidated if you see a bunch of HTML code)
  5. Search for the words "form action" within the HTML Source Editor. You should be able to find a line of code like:
    <form action="https://www.paypal.com/cgi-bin/webscr" method="post"...
  6. Insert the code target='_paypal' in between the words form and action. Your new code should now look like this:
    <form target='_paypal' action="https://www.paypal.com/cgi-bin/webscr" method="post"...
  7. Click the Update button at the bottom to save and close the HTML Source Editor window
  8. Click the green "Save / Edit Links" button at the below the preview of your PayPal button in the Products page
  9. Preview your site, and if all looks good, re-publish the site to make the change live.


As a rule, it is always good to test your site using multiple browsers to verify consistent performance.

Personal tools