I'd like to combine Conditions with PayPal and/or CC payments

  • BiscuitFoundation
    Asked on October 3, 2015 at 6:07 PM

    Here is a link to what I have so far...

     

    http://form.jotformpro.com/form/52757082121956

     

     

    I'm sure there is a much better way to create what I did, but I'm still learning.

    My objective is to have a choice of several candles or different amounts if they would like, with a price break after they purchase 3, but to also add $1 to the total.

    I would also like to have them submit a payment through PayPal or CC and have the total populate.

     

    I was able to create everything, but to have the Total fill in when they make a payment.

     

    I hope someone can help me,

    Rene

  • Mike_G JotForm Support
    Replied on October 4, 2015 at 10:27 AM

    To my understanding, the initial price of the candles is $9 a piece, but if someone will be making a purchase of more than 2 candles, the price will become $8 instead and aside from that there will be an additional $1 for transaction fees, is that correct?

    I have tested your form and it seems okay. I just would like to suggest that instead of using a spinner(I'm not sure if it is intentional) to get the Quantity, Price per piece and Total, you can use a regular textbox field and set its properties to "read-only" so submitters of your form will not be able to change/alter them to manipulate the total amount that will be passed to the payment tool.

    With regards to your concern of passing the value on the total field to the payment tool, here's what needs to be done. 

    Add an additional textbox field on the form and set its properties to hidden so it will not show on the form.

    Id like to combine Conditions with PayPal and/or CC payments Image 1 Screenshot 70

    Then, pass the value of the Total(spinner) field to the "Collect Total" field using Condition Wizard.

    Id like to combine Conditions with PayPal and/or CC payments Image 2 Screenshot 81

    Once done, we then pass the value that's in the "Collect Total" field to the payment tool.

    Id like to combine Conditions with PayPal and/or CC payments Image 3 Screenshot 92

    After filling your PayPal API settings, click Next and on the next page

    Id like to combine Conditions with PayPal and/or CC payments Image 4 Screenshot 103

    Id like to combine Conditions with PayPal and/or CC payments Image 5 Screenshot 114

    Then, save your form and make some test. 

    Id like to combine Conditions with PayPal and/or CC payments Image 6 Screenshot 125

    I hope this helps. 

    You may also refer to this guide: How-to-pass-a-calculation-to-a-payment-field

    Should you have any other questions or concerns, please feel free to let us know and we will be glad to help you. Thank you.

  • BiscuitFoundation
    Replied on October 7, 2015 at 8:17 PM

    That works perfectly! Thank you so much for your help   :-)