I have a similar issue, and forgive me if I should've posted a New topic to ask but my question may actually help the original poster too...
I got past the "posting to paypal but no email" issue thanks to this forum...
and i'm trying to do the onsubmit to send to paypal after the email... my button code is saved at paypal so i only have two hidden fields for paypal added to the form..
how would i pass that on to paypal in the php code provided in the forum, would i just pass the hidden fields in the same manner, replacing all the variables in the original code?
like this?
If that's correct then i think that the original poster (sorry, i think it's Ron but i've read so many post that i cant remember the name now that i'm in the reply form) can do the same thing with paypal's long encrypted string, just pass it as a variable, which is what would happen on a website that wasnt using chronoForm. (might be wrong but it's worth a try)
Thank you
tamara
I got past the "posting to paypal but no email" issue thanks to this forum...
and i'm trying to do the onsubmit to send to paypal after the email... my button code is saved at paypal so i only have two hidden fields for paypal added to the form..
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="9999999">
how would i pass that on to paypal in the php code provided in the forum, would i just pass the hidden fields in the same manner, replacing all the variables in the original code?
like this?
<?php
/**
* Build PayPal URL & redirect
*/
// Variables are set in the $form_config array
$url = $form_config['https://www.paypal.com/cgi-bin/webscr'];
$url .= "&cmd=_s-xclick";
$url .= "&hosted_button_id=9999999";
}
if ( $debug ) {
echo "url: ";print_r($url);echo "<br />";
echo "<br /><a href='$url'>Click to continue</a><br />";
} else {
$rows[0]->redirecturl = $url;
}
?>
If that's correct then i think that the original poster (sorry, i think it's Ron but i've read so many post that i cant remember the name now that i'm in the reply form) can do the same thing with paypal's long encrypted string, just pass it as a variable, which is what would happen on a website that wasnt using chronoForm. (might be wrong but it's worth a try)
Thank you
tamara