• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1956
  • Last Modified:

Paypal Integration in sharepoint

There is a webpart which has few fields submitting to database.
in this webpart need to add a button for to integrate the paypal.here is the code which paypal has provided
to integrate to any application.
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="1902376">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">


The problem is it has a form tag embedded with this.
There is already a form  in the sharepoint page itself which has action submitted to the same page.
i need a solution like... i can integreate this paypal code in the webpart.
without the page being post backed or refreshed.

how can mutiple forms achieved in sharepoint.. or any other way to do this paypal integration.

1 Solution
I'd write it all out here, but it gets a bit long.  

Here's the way Microsoft does it:


You could also use an iframe and create a separate page with your form.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now