Welcome, Guest

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

TOPIC: donation button - correct form properties?

donation button - correct form properties? 2 years, 3 months 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, 3 months 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, 3 months 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, 3 months 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, 3 months 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, 3 months 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.98 seconds

Facebook Discount - 40% Off!

Fans of our Facebook page here are entitled to get a 1-year-subscription for the price of a 6-months!

Steps to take:

  • Become a fan on Facebook (Like) here
  • Purchase a 6-months-subscription from here
  • Write a quick email to This email address is being protected from spambots. You need JavaScript enabled to view it. with your username and prove of your like and we'll upgrade to the 1-year-subscription

Joomla!® Forms Discount - 40% Off!

Already purchased a forms extension from a different vendor but your requirements changed and now you need a forms extension that is capable of more than just the standards? We help you to keep the costs for a change under control: Get a 40% discount on our professional membership plan! -- meaning timely unlimited access to all current and future commercial extensions, breezingforms themes & apps and Joomla!® templates at crosstec.de, including 1 year of support -- without any website limitations -- Just prove that you previously purchased another forms extension for Joomla!® from a different vendor and you are qualified.

Steps to take:

  • Purchase a 1-year-subscription from here
  • Write a quick email to This email address is being protected from spambots. You need JavaScript enabled to view it. with your username and prove of the purchase for the other form vendor and we'll upgrade to the professional-subscription

About

Crosstec GmbH & Co. KG

Bergisch-Gladbacher-Str. 829

51069 Cologne, Germany

Imprint