cancel
Showing results for 
Search instead for 
Did you mean: 

Simple Checkout button in asp.net

The code generated for the Simple Checkout button included a <form> tag.  This does not render on my asp.net pages.

 

This seems like an issue lots of sites would run into.  Is there a workaround?

 

Thanks for any help you can provide.

IHS3301
Member
5 REPLIES 5

Hi there,

 

I'm not quite sure what would be causing an issue here. Can you post your code for us to review?

 

Thanks,

 

Michelle

Developer Community Manager

Michelle
All Star

Hi,

From my own personal experience, the required <form runat=server> tag for the asp.net pages conflicts with the <form> tag in the simple checkout button.  A workaround is to use a simple HTML file or don't include .net form controls that require an asp.net form tag in your .aspx file.

 

Lisa

LisaSegura
Member

Better solution is:

 

<input type = "hidden" name = "LinkId" value ="xxxxxxxx-3499-4383-a905-xxxxxxxxxx" />
    <asp:ImageButton runat=server ID="_btnDonation" PostBackUrl="https://Simplecheckout.authorize.net/payment/CatalogPayment.aspx" ImageUrl="http://content.authorize.net/images/donate-gold.gif" CausesValidation=false />

pete_o
Member

What if you don't want to use the donation button? I am using the button to do a "Pay your bill online" button that is simple text. The customer can then enter the amount of their bill. I am not a .net guy. I know a lot about HTML just have never worked in .net. I didn't expect to run into this problem. We can copy and paste but the CMS will not allow us to publish.

 

Hello JohnnyY

It's been a while since this thread was first posted. I would recommend subscribing to this topic so that you'll be alerted via email if anyone from the community is able to respond with any comments. To subscribe, click Topic Options at the top of this thread and then select Subscribe. You'll then receive an email once anyone replies.

Thanks,

Richard