pay pal button

skytopdesigns 13 Jul, 2007
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>
GreyHead 13 Jul, 2007
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:
<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
skytopdesigns 13 Jul, 2007
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
Max_admin 14 Jul, 2007
Hi,
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!">
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger