TOPIC:

collect amount from select list for paypal button 7 months 1 week ago #250747

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 6113
  • Karma: 3
  • Thanks: 432
Hi,

did you set up button like in this:
crosstec.org/en/support/online-documenta...l-donation-form.html

Also, here is explained how to set paypal too:
crosstec.org/en/support/online-documenta...8-paypal-button.html

If you set everything like this it should works.

Regards,
Tihana

Please Log in or Create an account to join the conversation.

Last edit: Post by tihana.krivic.

collect amount from select list for paypal button 7 months 6 days ago #250789

  • Topic Author
  • Martinelli
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 24
  • Thanks: 0
Yes, you're right!
The error was on the ssl certificate, solved now!!!
thanks s a lot for your patience ...

i've to solve the last things on the admin_mail & mailback after the successful payment.

i don't find a solution to have the select list "title/label" to understand wich type of payment we're talking aout.
I tried to search here on the forum for an applicable solution but without success...
I've seen on the forum the solution with the hidden text field but i've different select list option with the same values.
i'll try to explain:
i've:
0;select_1; title 1; 10
0;select_2; title 2; 5
0;select_3; title 3; 10
if a user buys the select_3 for 10e
i've to find a solution to have un mailback:
purchased service: title 3 and not 10 like now

is there another solution that I may not have been able to find in the forum?
hoping not to bother you again, thanks in advance,
Luca

Please Log in or Create an account to join the conversation.

collect amount from select list for paypal button 7 months 5 days ago #250804

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 6113
  • Karma: 3
  • Thanks: 432
Hi,

ok, I will test this, and create and example for this, and post it here

Regards,
Tihana

Please Log in or Create an account to join the conversation.

collect amount from select list for paypal button 7 months 5 days ago #250810

  • Topic Author
  • Martinelli
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 24
  • Thanks: 0
Thanks in advance!!!

Luca

Please Log in or Create an account to join the conversation.

collect amount from select list for paypal button 7 months 5 days ago #250811

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 6113
  • Karma: 3
  • Thanks: 432
Hi,

got it!
E.g.
if you have select list:
0;select_1; title 1; 10
0;select_2; title 2; 5
0;select_3; title 3; 10
and hidden element

Go to this select list->Advanced->Actionscript->check Custom and put this:
function ff_NAMEOFSELECTLIST_action(element, action)
{
    switch (action) {
        case 'change':
var s1 = jQuery('#ff_elem23551').find(":selected").text();
ff_getElementByName('NAMEOFHIDDENELEMENT').value = s1;
break;
        default:;
    } // switch
} // ff_NAMEOFSELECTLIST_action

Please replace:
NAMEOFSELECTLIST with name of your select list (not title)
NAMEOFHIDDENELEMENT with name of hidden element (not title)
#ff_elem23551 with ID of your select list (right click to your browser->Inspect->and find ID for this select list)

Regards,
Tihana

Please Log in or Create an account to join the conversation.

collect amount from select list for paypal button 7 months 5 days ago #250817

  • Topic Author
  • Martinelli
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 24
  • Thanks: 0
I hope I have understood well...

i've on this form :

select_list name:select1 (with old code for collect value for paypal)
hidden_element_name: tiposcelto
ID of your select list: elem400

now 've to add this new code to the other code, right?
---
function ff_select1_action(element, action)
{
ff_getElementByName('total').value =
Number(ff_getElementByName('select1').value);
switch (action) {
case 'change':
var s1 = jQuery('#ff_elem1084').find(":selected").text();
ff_getElementByName('tiposcelto').value = s1;
break;
default:;
} // switch
}
// ff_PayPalSelect_action<br><br>
// ff_select1_action<br><br>
---

then i've to edit custom mailback and admin emailsand add:
{select:label} : {hidden:value}

-->> ok, I'll try right away and keep my fingers crossed

Please Log in or Create an account to join the conversation.

Moderators: ForumSupport
Time to create page: 0.053 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!