i have a form for members. and to join they need to hit the pay pal button
i put the code in the form but it dosnt seem to work.
<td><input type="hidden" name="cmd" value="_xclick" />
<input type="hidden" name="business" value="paypal@site.com" />
<input type="hidden" name="item_name" value="join" />
<input type="hidden" name="item_number" value="join" />
<input type="hidden" name="amount" value="25.00" />
<input type="hidden" name="image_url" value="http://www.site.com/Joomla/join.png" />
<input type="hidden" name="return" value="http://www.chicagoyrs.com/Joomla/http://www.chicagoyrs.com/Joomla" />
<input type="hidden" name="currency_code" value="USD" />
<input type="image" src="../../gaming2/original - Copy/Clan0001 Valid Xhtml/images/join.png" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!" /></td>
</tr>
i put the code in the form but it dosnt seem to work.
<td><input type="hidden" name="cmd" value="_xclick" />
<input type="hidden" name="business" value="paypal@site.com" />
<input type="hidden" name="item_name" value="join" />
<input type="hidden" name="item_number" value="join" />
<input type="hidden" name="amount" value="25.00" />
<input type="hidden" name="image_url" value="http://www.site.com/Joomla/join.png" />
<input type="hidden" name="return" value="http://www.chicagoyrs.com/Joomla/http://www.chicagoyrs.com/Joomla" />
<input type="hidden" name="currency_code" value="USD" />
<input type="image" src="../../gaming2/original - Copy/Clan0001 Valid Xhtml/images/join.png" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!" /></td>
</tr>
Hi skytopdesigns,
You seem to have some strange attribute values in your hidden fields. Here's an example of a fairly straightforward PayPal form (modified from a LinkLok example).
In the Form HTML field:
In the 'Form URLs' tab put the PayPal action URL in the 'Submit URL' field
You need this so that the form is sent to PayPal instead of your own site. You will also need to set up a return page on your site - in this example it's 'http://www.yoursite.com/download.html'
Bob
You seem to have some strange attribute values in your hidden fields. Here's an example of a fairly straightforward PayPal form (modified from a LinkLok example).
In the Form HTML field:
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="paypal@site.com">
<input type="hidden" name="return" value="http://www.yoursite.com/download.html">
<input type="hidden" name="item_name" value="join">
<input type="hidden" name="item_number" value="99">
<input type="hidden" name="amount" value="25.00">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="cancel_return" value="http://www.yoursite.com">
<input type="hidden" name="no_note" value="1">
<input type="image" src="http://images.paypal.com/images/x-click-but5.gif" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
In the 'Form URLs' tab put the PayPal action URL in the 'Submit URL' field
https://www.paypal.com/cgi-bin/webscr
You need this so that the form is sent to PayPal instead of your own site. You will also need to set up a return page on your site - in this example it's 'http://www.yoursite.com/download.html'
Bob
great thanks alot,
when i hit the pay pal button i was sent back to my home page
let me give it a go
*** worked like a charm!!!!!
has anyone changed the pay pal button with success?
i dont know where the image would go? i tried it but it coulnt find the image and i didnt know where to upload it
thanks a bunch,<br><br>Post edited by: skytopdesigns, at: 2007/07/13 14:30
when i hit the pay pal button i was sent back to my home page
let me give it a go
*** worked like a charm!!!!!
has anyone changed the pay pal button with success?
i dont know where the image would go? i tried it but it coulnt find the image and i didnt know where to upload it
thanks a bunch,<br><br>Post edited by: skytopdesigns, at: 2007/07/13 14:30
Hi,
You can change this image by changing this line in bob's code and put the new image inside your joomla images folder :
You can change this image by changing this line in bob's code and put the new image inside your joomla images folder :
<input type="image" src="images/x-click-but5.gif" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
This topic is locked and no more replies can be posted.