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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...PayPal donation button doesnPayPal donation button doesn't work in DNN
Previous
 
Next
New Post
5/1/2006 11:46 AM
 
As taken from the PayPal.com website:


<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="MY@EMAIL.com">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="return" value="http://www.return-url.com">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="tax" value="0">
<input type="hidden" name="bn" value="PP-DonationsBF">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but21.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>


This small bit of HTML does not work in DNN. When you paste it into a Text/HTML module, the link (the image its self) simply redirects you back to the same page you were viewing. If you copy this same HTML to a standard .html file, the link forwards you to PayPal.

Why is DNN breaking this code?
 
New Post
5/1/2006 2:13 PM
 
You can't use that because DotNetNuke already creates form tags.

You need to use this approach if you want to do it in a text/html module

Or here is a free module to accomplish your need. There are also some buy it now type paypal modules, I'm sure you can find them on snowcovered.

 
New Post
5/1/2006 4:14 PM
 

Here is basically the same code with just a few more details. I put in some line breaks for clarity. If you are not using the PayPal sandbox for testing, you should try it out. It takes some effort to setup, but makes testing a much simpler process. I just put in two modules on the page, one for the Sandbox and one for the Production Paypal and only show the sandbox to a test role.

I got my hints on how to do this on the Traincert Videos for DNN. They are very helpful.

<A href="https://www.paypal.com/xclick/business=contribution@amilliondollarmemorial.com

&amp;item_name=A+Million+Dollar+Memorial+Contribution

&amp;item_number=AMDM01

&amp;currency_code=USD

&amp;return=http://www.returnpage.com

&amp;cancel_return=http://www.cancelpage.com

&amp;cbt=Make+Contribution

&amp;no_shipping=1

&amp;rm=2">

<IMG alt="Make contributions with PayPal - it's fast, free and secure!" src="https://www.paypal.com/en_US/i/btn/x-click-butcc-donate.gif" border=0>

</A>

Also, I use the Return URL to go to an XMod module and pull in the Transaction Details and then use XURLP to write them to a database table. Sometimes I just use a straight ASP page as the Return URL and use it to write the transaction details to a table and then redirect back to my site.

Hope this helps.


 


Forerunner Communications, LLC
DotNetNuke Integration Specialists

 
New Post
5/2/2006 9:27 AM
 
Chammock, you are my savior. Thank you so much.
 
New Post
5/2/2006 12:21 PM
 

Glad to have helped as so many have helped me over the years. Feel free to go to my brother's memorial website and be the first (besides me) to make a small contribution ($1, $5, whatever) that will go to charitable and community organizations. You can test out my PayPal process. Click the A Million Dollar Memorial Progress Bar graphic in my signature to link to the site.

Cliff


Forerunner Communications, LLC
DotNetNuke Integration Specialists

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...PayPal donation button doesnPayPal donation button doesn't work in DNN


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