Convert form into direct link?

Have stayed away from HTML for a while, need some direction… Have a client who using authorize.net “buttons”, works fine but you can not embed into their email marketing software becuaes its a “unsupported” form.

can I take the form info and turn it into a standard link??

<center>
<form name="PrePage" method = "post" action = "https://Simplecheckout.authorize.net/payment/CatalogPayment.aspx"> <input type = "hidden" name = "LinkId" value ="6XXXXXXXXXXXXX6" /> <input type = "image" src ="https://gallery.mailchimp.com/07bf28066c62a5817a1fe738b/images/a2831902-87ca-40b7-badb-e6235cff51c4.gif" /> </form>

HI methogod welcome to the forum

Does or can CatalogPayment.aspx work with GET requests?
In terms of security, should it?

If so it would be a simple matter of adding the “hidden” to the link. eg.

CatalogPayment.aspx?LinkId=6XXXXXXXXXXXXX6

The fact that it’s hidden and “payment” is in the name suggests it might not be the best approach, but as HTML hidden fields can be tampered with hopefully there are adequate server-side safeguards in place already.

1 Like

i already took that out to see if that was an issue, didn’t make it work.
Save the image locally to their email service just to be sure it wasn’t a gateway issue.

Need it to be simple since there email marketing clients doesn’t support forms (or at least this one

Did you try what MailChimp suggested under Do Not Use → HTML Forms as an alternative to having a <form> in the email?

or insert a link to a web form.

Why not just provide a link in the email to the online version of the form?

3 Likes

i guess i can host the FORM, and send them to the form… just seems like more work :frowning:

Forms aren’t really viable in emails. Here’s a handy reference for the options you could consider: https://www.campaignmonitor.com/resources/guides/email-forms/

Here is the complete form… Unredacted. Tried your advise, not getting it to work. May have to host form…

<form name="PrePage" method = "post" action = "https://Simplecheckout.authorize.net/payment/CatalogPayment.aspx"> <input type = "hidden" name = "LinkId" value ="6b546b47-96e1-4300-a290-e385ece51c31" /> <input type = "image" src ="//content.authorize.net/images/buy-now-blue.gif" /> </form>

This it what I see using GET (after messing with CSS in dev tools to make the “continue” display)

I don’t know what you mean by “not working”.
The HTML is of little help here.
If you are wanting to change the ASP code best to start a new topic in that category showing the ASP code involved with the form…

But, because this involves payment take care as to what you post.

if you do not submit it in a form, you get the request is no longer available.

if you follow it in a form, it works fine. Trying to figure out if its authorized.net blocking a simple link?

Most likely the ASP code involved with the form checks several things, such as method, valid nonce token etc.

As I previously posted

Though TBH I think the easier and better solution would be to just have a link to the online form in the email.

What has security got to do with GET requests (apart from that GET are more secure than POST because you are not updating anything on the server with GET - unless you are misusing GET where you should be using POST ie for updating)

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.