Forums

Create a PayPal form

brduran 19 Dec, 2008
Hi,

I'm trying to create the form below, so I inserted it without the <form> </form> in the "Form Code/Form HTML" section,

-------PAYPPAL FORM----------------------------------
<form 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="1938037">
<table>
<tr><td><input type="hidden" name="on0" value="Service Type">Service Type</td></tr><tr><td><select name="os0">
   <option value="Option 1">Option 1
   <option value="Option 2">Option 2
   <option value="Option 3">Option 3
</select> </td></tr>
<tr><td><input type="hidden" name="on1" value="Invoice #">Invoice #</td></tr><tr><td><input type="text" name="os1" maxlength="60">
</table>
<input type="image" src="/https://www.paypal.com/en_US/i/btn/btn_buynowCC_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">
</form>
but when I execute it I get this below (I turned on the Debug feature)

Message
Form passed first SPAM check OK
Form passed the submissions limit (if enabled) OK
Form passed the Image verification (if enabled) OK
Form passed the server side validation (if enabled) OK
Form passed the plugins step (if enabled) OK
Debug End

_POST: Array ( [cmd] => _s-xclick [hosted_button_id] => 1938037 [on0] => Service Type [os0] => Option 1 [on1] => Invoice # [os1] => 1231 [91e590aa3839e2aa29cb2de51f63be5a] => 1 [submit_x] => 67 [submit_y] => 13 )


See it here: http://www.teknician.com/index.php?option=com_chronocontact&chronoformname=PayPal

Any ideas please? What part of the form goes where?
Max_admin 19 Dec, 2008
Hi brduran,

put https://www.paypal.com/cgi-bin/webscr in the submit URL field, but the form will not send emails or save data once you do this!

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
brduran 19 Dec, 2008
Right, Submit URL in Form URLs. It works, thanks a lot.

By the way, love the game!
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger