Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreDonate Button from Authorize.netDonate Button from Authorize.net
Previous
 
Next
New Post
12/13/2010 1:43 PM
 
Hello to all - I am trying to get the donate button code from Authorize.net to work on my site.  The code they provide looks like so:  <form name="PrePage" method = "post" action = "https://Simplecheckout.authorize.net/payment/CatalogPayment.aspx"> <input type = "hidden" name = "LinkId" value ="26fad633-978f-4512-b7ab-3a3bf93e4d73" /> <input type = "submit" value = "Payment" /> </form>.  When I try to do this code it simply seems to reload the page....nothing happens.  I have downloaded the store module and would like to try and use this if I can somehow create an item where the customers can insert their own payment amounts for an invoice payment option.  I'm fairly new at using DNN - so I have scoured the internet trying to find solutions and I am stumped.  Any type of feedback would be greatly appriciated.  Thanks in advance.
 
New Post
12/13/2010 7:02 PM
 
Hi Keith,

You can't use the Store module because each product have a price and the customer can't change it!

It depends what's your needs, but you could use the IFrame module to do this if you have just a few products.
Please follow this guidelines to do it:
  1. Create a file named Authorize.html stored in your portal root folder with your button's code (read after for a small change to apply)
  2. Install the IFrame module
  3. Place an instance on a page
  4. Click on the "Edit IFrame Options" link at the bottom
  5. Select "File ( A File On Your Site )" in the "Source" section settings
  6. Select the file Authorize.html
  7. Save your settings

You need to add a target attribute to the form tag in the button's code to open the Authorize website in the same window (read this HTML spec for details), like this:

<form name="PrePage" method="post" action="https://Simplecheckout.authorize.net/payment/CatalogPayment.aspx" target="_parent">
    <input type="hidden" name = "LinkId" value ="26fad633-978f-4512-b7ab-3a3bf93e4d73" />
    <input type = "submit" value = "Payment" />
</form>

Gilles

We (team members) are Humans offering their knowledge, their work and their spare time FOR FREE to benefit the community. It would be so particularly appreciated that your messages begin with "Hello" and end with "Thank you" or any other form of politeness. Ask yourself what your reaction would be, if you were approached by me (a total stranger) on the street to ask you something without saying "Hello" nor "Thank you"? After several years of services dedicated to the community, I begin to be tired to read requests without any form of politeness.
 
New Post
11/27/2013 5:42 AM
 

Hello Gilles,

 First, I want to say thank you for taking the time to post this.  Secondly I want to say how extremely helpful this is as it did resolve a similar problem I was having.  

 However, I did want to offer one amendment to this. Why? Because in some cases such as in for my client they wanted their payment or donate button to appear directly below other content that was on the page which they frequently edited.  As such, I could not simply include that content in the 'offloaded' .html file which the iframe pointed to.  So I had to figure out a way to still make use of the iframe, and yet keep it within the body of the existing Html module (because using the iframe module it would not allow me to place the iframe directly where they wanted). 

 So for someone who may also be looking for an answer to this question and wish to implement the same code but inline within their existing html module I offer this code as a reference

<iframe scrolling="no" name="Patient Payment" seamless="seamless" src="/portals/0/Forms/AuthNet.html"> 

 However, by all means if you think this is not a good solution in comparison to the one you have suggested, please feel free to comment.  However, this lets the iframe still offload to the alt. html page, but then the only thing in that page is what I need for the button, and the remainder of their site stays in tact to allow them to edit it as normal, and they can't mess up my image placement or button, because that code is hidden inside of the other file.

 

Again, I want to say I greatly valued this post, and it served its purpose well in spuring me in the right direction, then simply needing to apply my own knowledge of html to the situation to extrapolate a working solution. 

 

Also, here is a good link to the 'official iframe rules' from w3c (Iframe W3C) which I used, and checked to ensure I stayed in the realm of HTML5 Compatibility.

 Hopefully this may also help someone.

Thanks Again!

 Make It a Great Day!

Dustin

Have a Website Question? RDWC Can Help!

 


___________________________________________ Make It a Great Day! D-Man
 
New Post
10/19/2015 1:07 PM
 
I realize this suggestion is less than perfect but if you create a product (call it donation) that costs 1 dollar. And then instruct your visitors to enter the quantity = the amount of their desired donation. Then this module could be used for variable donations amounts. I have used this with another shop and it worked fine.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreDonate Button from Authorize.netDonate Button from Authorize.net


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out