Knowledgebase: DotNetNuke
How to put PayPal Buy Now buttons in your DotNetNuke Portal
Posted by Sean Syed 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=’https://www.paypal.com/cgi-bin/webscr&#8217;; 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.

Example:
<input onclick=”this.form.action=’https://www.paypal.com/cgi-bin/webscr’;this.form.submit();” alt=”Make payments with PayPal – it’s fast, free and secure!” name=”submit” etc…

(9 vote(s))
Helpful
Not helpful

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