Put an Simple Checkout button on your DNN site
Last Post 22 May 2015 05:24 PM by Mark Buelsing. 0 Replies.
Printer Friendly
PrevPrev NextNext
Author Messages
Mark BuelsingUser is Offline
New Member
New Member

22 May 2015 05:24 PM Quote Reply creates your Simple Checkout button in the form of a form tag - and that cannot be used on a DNN page. This method of making it work is a little convoluted but does nevertheless work.

Create a html page, put it in the root of your site, name it whatever you like. I suggest "PaymentPage.html"

In the HTML of that page, enter the following line in the body section, this code will break the user payment page out of the frame it is in.
<base target="_blank">

Then include the code for the Simple Checkout button like so:

<base target="_blank">
<form> name="PrePage" method = "post" action = "">
<input type = "hidden" name = "LinkId" value ="xxxxxxx-xxxxx-xxxxxx-xxxxxxx" /> <input type = "submit" value = "Pay Now!" /> </form>

Save this file.

Then go back to your DNN page and in an html module, add an iframe that points to your html page similar to this.

<iframe src=""></iframe>


Now you should have a paynow button showing on your DNN page. The paynow button is actually coming from the form tag on the PaymentPage.html file that is showing in an iframe. When you click the button. The base target tag breaks you out of the iframe while it takes you to the Simple Checkout page. Success!

Quick Reply
Security Code:
Enter the code shown above in the box below.


Powered by Active Forums

Welcome Photographers!

We would like to make connections with amateur photographers who would like to see their beautiful images used on the Internet.

If you are interested, leave your name and email and we'll contact you when a particular photo is needed for one of our website projects. If you have a photo that fits the need, then send it to us. At the very least, you will get credit for the photo. Some projects will pay for your photo. It is an opportunity to get your work published!

Thank you

Mark Buelsing