TOPIC:

adding a payment (paypal) option on a page? 5 years 2 weeks ago #178969

  • Topic Author
  • suzanna
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 97
  • Thanks: 0
Is it possible to add a payment option (fields) to a page, and on "next" have the payment sent to paypal for processing AND have the form mailed (as in submit)?

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

adding a payment (paypal) option on a page? 5 years 2 weeks ago #178988

  • pedro81's Avatar
  • pedro81
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 15273
  • Karma: 287
  • Thanks: 1077
Hello!

paypal must be at the last form page to wirk fine. But there is something that i do not understand completly: what do you mean with having the form mailed? do you want to get the Admin Email? the BackMail for the user? i think that this is not a problem as it is a native feature.

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

adding a payment (paypal) option on a page? 5 years 2 weeks ago #179013

  • Topic Author
  • suzanna
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 97
  • Thanks: 0
OK, that would work. How do I add paypal payment option to the last form page?
The last page just needs to have two options / radio boxes ($10 and $20 option) for PayPal.

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

adding a payment (paypal) option on a page? 5 years 2 weeks ago #179051

  • pedro81's Avatar
  • pedro81
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 15273
  • Karma: 287
  • Thanks: 1077

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

adding a payment (paypal) option on a page? 5 years 2 weeks ago #179109

  • Topic Author
  • suzanna
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 97
  • Thanks: 0
I have the Crosstec membership, but when I click on that message I get access denied.

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

adding a payment (paypal) option on a page? 5 years 2 weeks ago #179130

  • pedro81's Avatar
  • pedro81
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 15273
  • Karma: 287
  • Thanks: 1077
Hi,

i paste here the content of that post:

pls find attached form below, unzip it and install via Package Installer. You will see slight modification in your form. We have added PayPalSelect element and Amount. Under the Radio grp element(profile) -> Advanced tab you will see the code for choosing the value which will be shown in Amount element:
function ff_profile_action(element, action)
{
    switch (action) {
        case 'change':
var radioGrp = JQuery("[name=\"ff_nm_profile[]\"]");
for (i = 0; i < radioGrp.length; i++) {
  if (radioGrp[i].checked)
  {
       total = radioGrp[i].value
       ff_getElementByName('totalAmount').value = total;
  }
}
            break;
        default:;
    } // switch
} // ff_profile_action

In your PayPal button -> advanced tab we have added this code:
function ff_Paypal_gral_action(element, action)
{
    switch (action) {
        case 'click':
        ff_getElementByName('PayPalSelect').value ='Amount|0|' + ff_getElementByName('totalAmount').value + '|0';
        ff_validate_submit();
            break;
        default:;
    } // switch
} // ff_Paypal_gral_action

More about it you can read in our documentation:
1) crosstec.org/en/support/online-documenta...l-donation-form.html
2) crosstec.org/en/support/online-documenta...8-paypal-button.html

Also you can turn off submit button in your form: Form -> Form properties -> Include submit button -> Set to "No" becasue now your PayPal button can submit the form.

Let us know the result.

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

Time to create page: 0.051 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!