Reply
Member
Posts: 1
Registered: ‎06-02-2010

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.

All Star
Posts: 1,072
Registered: ‎08-17-2009

Re: Simple Checkout button in asp.net

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

Member
Posts: 2
Registered: ‎06-23-2010

Re: Simple Checkout button in asp.net

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

Member
Posts: 1
Registered: ‎09-03-2010

Re: Simple Checkout button in asp.net

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 />

Member
Posts: 2
Registered: ‎07-01-2013

Re: Simple Checkout button in asp.net

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.

 

Posts: 2,765
Topics: 57
Kudos: 254
Blog Posts: 67
Registered: ‎12-05-2011

Re: Simple Checkout button in asp.net

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