# Recacptcha and paypal

**URL:** <https://forum.kirupa.com/t/recacptcha-and-paypal/323982>\
**Category:** Uncategorized\
**Created:** [July 27, 2011, 12:48am UTC](https://forum.kirupa.com/t/recacptcha-and-paypal/323982 "2011-07-27T00:48:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![carbone6](https://avatars.discourse-cdn.com/v4/letter/c/41988e/32.png) [@carbone6](https://forum.kirupa.com/u/carbone6)\
**Post date:** [July 27, 2011, 12:48am UTC](https://forum.kirupa.com/t/recacptcha-and-paypal/323982/1 "2011-07-27T00:48:05Z")

</div>

Hi,  
i’ve a beginner at PHP.  
I need my form to go through reCaptcha and then if successful onto paypal. The problem is that the form action is different for each of these. Ie.

For recaptcha:  
\<form action="\<?php echo $path; ?\>inc/mail-forms/join-enquiry-premium.php"

For paypal:  
\<form action=“[https://www.paypal.com/cgi-bin/webscr](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=“7TWEJ354L5VGS”\>

How can i get it to go through recaptcha and then on to the paypal site?  
Any help would be appreciated. Thanks.
