close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

paypal donation button

Thread began 3/14/2012 1:27 pm by edrosenthal350859 | Last modified 3/16/2012 9:06 am by edrosenthal350859 | 2665 views | 4 replies |

edrosenthal350859

paypal donation button

i am having a heck of a time trying to find a way to accomplish these things with paypal donation button:
1 - create the button such as when it goes to paypal i do not see "order summary" such as you would if you were buying something with a buy now button. This being a donation to a fund or a cause should not have that there.
2 - make sure the amount is filled in - from a drop down list of values

i used the donate button in the e-commerce paypal kit and the "order summary" appeared.
I note that in another post similar to mind it was said to change the hidden value of amount to text input, but i saw no generation of amount there after the button was first created.
thanks in advance as always,
ed

Sign in to reply to this post

Jason ByrnesWebAssist

please post a link where i can see the problem

Sign in to reply to this post

edrosenthal350859

link for test

testpage.html
and one that fills in the amount but has the "order summary"
paypalbutton.html

i have yet to find a good tutorial that talks about just this. Many forums such as x.com have a lot of information that is incomplete or links have gone bad, that might have the answers i was looking for... thanks for your reply!

Sign in to reply to this post

Jason ByrnesWebAssist

the way the button is treated by the paypal system is set by the cmd hidden element:

<input type="hidden" name="cmd" value="_xclick" />




for a donation button, the cmd hidden element should have the value set to "_donations":

<input type="hidden" name="cmd" value="_donations" />




the price passed to paypal should be in a form element named amount. using a select list, and not offering an empty value will ensure that an amount is entered:

<select name="amount">
<option value="100">100</option>
<option value="25">25</option>
<option value=".01">.01</option>
</select>




for more details see the paypal standard variable reference doc:
e_howto_html_Appx_websitestandard_htmlvariables

Sign in to reply to this post

edrosenthal350859

Thanks!

Yes! That was it perfectly. Thanks so much!!

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...