cancel
Showing results for 
Search instead for 
Did you mean: 

My simple checkout buttons do not work on my site

My website is not yet "live" but is up and running, and when I had my web designer copy and paste the HTML code from authorize.net onto the site, none of the buttons are active.

 

The web page for the first payment button is:  http://www.247nywebdesign.com/Testing/Infinite%20Athletics/php/PrivateLesson.php

 

The coding for the button is:  <form name="PrePage" method = "post" action = "https://Simplecheckout.authorize.net/payment/CatalogPayment.aspx"> <input type = "hidden" name = "LinkId" value ="806adffd-62a6-47fb-9da4-12c530814072" /> <input type = "submit" value = "Buy Now!" /> </form>

 

The button show up on the site, but none of them respond when they are clicked.

 

Does anyone know where the problem lies?  Thanks in advance!

EB222222
Member
12 REPLIES 12
Your html looks like this-


<form name="PrePage" method = "post" action = "https://Simplecheckout.authorize.net/payment/CatalogPayment.aspx"> <input type = "hidden" name = "LinkId" value ="806adffd-62a6-47fb-9da4-12c530814072" /> <input type = "submit" value = "Buy Now!" /> </form>

The long string of alpha-numeric characters and dashes is tied to your authorize account. What happens is when your customer clicks Buy Now that value is passed on to authorize.net. It does two things, one it validates that the request is coming from a website with a legitimate account, and two it identifies it as coming from you. I’ve never used this product but I would say that the checkout page will have something specific to your store.

The reason that the link doesn’t work when you click on it is that authorize doesn’t allow people to pull up the form without validating who they are first. This is done for security reasons. If they allowed the form to be called up simply by clicking the link, they would have no control over who can access their form, and attackers could try to corrupt the form for malicious purposes.

Even though you have an account, by merely clicking the link you are not passing your validation token (the long string after “value=“ on your html). To do that it has to be in a form with a button.

There are products on offer here that will allow you to open up a payment window within your website, without transferring the customer to a separate webpage. For that you would have to hire a programmer to set up the integration, as it involves much more than copying and pasting html code.

My pancakes just came. Best of luck to you.
@tiffanyabritt

Quick heads up- if this is the form you got to use in real transactions, you will want to look into generating a new block of html with a new token tied to your account, and disable the one you have. The posts on this forum accumulate 10s of thousands of views and you do not want people having your credentials.

ok thank you.