Welcome, Guest

donation button - correct form properties?
(1 viewing) (1) Guest

TOPIC: donation button - correct form properties?

donation button - correct form properties? 2 years ago #11512

in the form using quickform
if one chooses the paypal button it automatically has these properties
========================
Item name

Item number

Amount

Tax
==========================

I don't want these properties
I want to use the donation button and want to show
amount you would like to donate
or
amount

=================

when I click on the paypal button - (donation button image I got from paypal)
I go to the Paypal page
there are the fields : Item name, item number, amount, and tax

How do I correct this? and have fields pertain not to commerce but donation???

this is the page
www.briotheatre.org/want-to-volunteer-or-donate/donations
  • joomGrl34
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
  • Karma: 0

Re: donation button - correct form properties? 2 years ago #11522

Hi,

is there a difference for donations? You can change the image src to a donation button and fill in the fields.
I guess internally PayPal makes no difference if it is a donation or not.

Like

Item name: Donation
Item number: 1
Amount: 20.00
Tax: 0

Regards,
Markus
===============================================
Satisfied?
Consider a membership!
===============================================
Like us on Facebook
===============================================
Follow us on Twitter
===============================================

Re: donation button - correct form properties? 2 years ago #11536

that works - a bit of a hack tho'
not the best solution. but do-able

but new problem this error message after inputting $amount and putting in passowrd and accepting the amount
I get this error:
An error occured, see the message below. If you think this is a mistake then contact the site administrator and provide him with your PayPal transaction id and the message below, please. Thank you!

Your transaction id: 81847830HY8449631

Error: Payment was not correct (amount/currency)

what does this mean

usa in dollars in what I want, what could I be doing worng??
  • joomGrl34
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
  • Karma: 0

Re: donation button - correct form properties? 2 years ago #11540

you were inputting $amount? the value should be fixed.

Do you want the value to be dynamic?
===============================================
Satisfied?
Consider a membership!
===============================================
Like us on Facebook
===============================================
Follow us on Twitter
===============================================

Re: donation button - correct form properties? 2 years ago #11541

it should be not fixed - whatever they want to donate
  • joomGrl34
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
  • Karma: 0

Re: donation button - correct form properties? 2 years ago #11544

ah ok, then do this:

1. add a 0 (zero) to the PayPal button amount
2. Add a hidden input field and give it the name "PayPalSelect"
3. Add this as custom action to the PayPal button (button => properties => advanced => action => click "custom" => check "click" => click "generate code framework"):

Then add this inside the click case

ff_getElementByName('PayPalSelect').value = 'Donation|1|' + ff_getElementByName('NAME-OF-TEXTFIELD-WHERE-THEY-ENTER-THE_AMOUNT') + '|0';


This will make the payment dynamic.

Regards,
Markus
===============================================
Satisfied?
Consider a membership!
===============================================
Like us on Facebook
===============================================
Follow us on Twitter
===============================================
Moderators: TheMuffinMan, ForumSupport
Time to create page: 0.36 seconds

About

Crosstec GmbH & Co. KG

Bergisch-Gladbacher-Str. 829

51069 Cologne, Germany