Gossamer Forum
Quote Reply
paypalform in glinks
Hi,
who knows how to integrate a small paypal form in glinks (may be in include_rightsidebar.html).
Just something like this

Buy me a beer!
Drop down field (5$, 10$, 15$)
submit button


Any ideas?
Matthias

Matthias
gpaed.de
Quote Reply
Re: [Matthias70] paypalform in glinks In reply to
Hi,

Try something like this:

Code:
<form method="post" action="https://www.paypal.com/cgi-bin/webscr" enctype="multipart/form-data">
<input type="hidden" name="redirect_cmd" value="_xclick" />
<input type="hidden" name="business" value="your_paypal@address.com" />
<input type="hidden" name="currency_code" value="USD" />
<input type="hidden" name="cmd" value="_ext-enter" />
<input type="hidden" name="no_shipping" value="1" />
<input type="hidden" name="no_note" value="1" />

<select name="amount" size="1">
<option value="5.00">$5.00</option>
<option value="10.00">$10.00</option>
<option value="15.00">$15.00</option>
<option value="20.00">$20.00</option>
</select>&nbsp;&nbsp;
<input type="image" name="submit" src="http://images.paypal.com/images/x-click-but01.gif" alt="Make a donation with PayPal" />
<input type="hidden" name="quantity" value="1" />
<input type="hidden" name="item_name" value="Donation" />
<input type="hidden" name="return" value="http://www.yoursite.com/page.cgi?p=thanks" />
<input type="hidden" name="undefined_quantity" value="0" />

&nbsp;<div>
</div>
</form>

Cheers

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] paypalform in glinks In reply to
Hi Andy,
thanks for your suggestion.
I'm busy at the moment, trying it later.
Thanks
Matthias

Matthias
gpaed.de
Quote Reply
Re: [Matthias70] paypalform in glinks In reply to
Hi Andy,
your code works fine.
I just changed this lines to give my users a thought for what the money is.

<select name="amount" size="1">
<option value="5.00">Coffee - 5€</option>
<option value="10.00">Coffee & Cake - 10€</option>
<option value="15.00">Coffee & Cake (Big City) - 15€</option>
</select>

At the moment I'm not sure, what's better.
Coffee or Beer, but I have more women on my site so I start with coffee :-))

Thanks
Matthias

Matthias
gpaed.de