Knowledgebase: DotNetNuke
How to put PayPal Buy Now buttons in your DotNetNuke Portal
Posted by on 11 June 2013 10:54 AM

You can do this with a simple javascript trick.

  1. Remove the <Form> </Form> tags from your PayPal “Buy Now” code.
  2. Add onClick=”this.form.action=’;; this.form.submit();” to the buy now input button.
  3. Paste what is left into the html module

What it does is change the action for the Form that is already embedded into the DotNetNuke default.aspx page.

<input onclick=”this.form.action=’’;this.form.submit();” alt=”Make payments with PayPal – it’s fast, free and secure!” name=”submit” etc…

(9 vote(s))
Not helpful

Comments (0)
Post a new comment
Full Name:
CAPTCHA Verification 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).