How to Create PayPal BuyNow Buttons
DNN > How To
How to Make PayPal BuyNow Buttons Work with DotNetNuke
PayPal BuyNow buttons do not work when pasted into a Text/HTML module.
Because ASP.NET only allows one html FORM element on the page, PayPal's code conflicts with ASP.NET.
Warning: This is not an official recommendation by the support team. This is an online workaround. We do not provide technical assistance for PayPal related questions
generates HTML markup for
Add to Cart
buttons. The HTML creates a hidden form with the product information PayPal needs to generate the shopping cart. In DNN, one generally puts product pages in
modules. However, -DNN doesn't allow forms in Text/HTML modules.
PayPal's suggested workaround is to use an
tag with a query string to pass product data. We decided not to use that approach, because of exposure to potential fraud. We found another workaround on the DNN forums that seems to work well. The workaround comes from John Mitchell, a regular on that forum.
tags from your PayPal
Locate the following code
< input type="image"
Directly following that add
Paste all of it into the html module.
Article ID: 305
Created: April 6, 2012 at 4:00 PM
Modified: August 25, 2014 at 2:25 PM
Was this article helpful?
Thanks for your feedback...
Share this article
Other Social Networks
Share With Others
Send Reset Email
Please log in below
Not Logged In
You must be logged in to perform this action.