Allow respondents to choose their preferred payment method

  • dazzledoit
    Asked on April 13, 2019 at 10:32 PM

    I want 2 options to pay.

    I have set up some products and linked to PayPal. But I want user to have option of pay direct to driver.


    So if they click on PayPal I want it to go to PayPal checkout.


    If they click pay driver I want it to go to the submit box at end of form. But the amount will be sent to me and the user will know what he paid.


    https://eu.jotform.com/build/90955635306361

  • Mike_G JotForm Support
    Replied on April 13, 2019 at 11:12 PM

    With your requirements, you may need to re-create the options in your payment field using regular form fields. Then, you will need to use conditions and/or the Form Calculation widget to calculate for the total amount.

    How-to-Insert-Text-or-Calculation-into-a-Field-Using-Conditional-Logic

    How-to-Perform-Form-Calculation-Using-a-Widget

    Once you are able to set up your form to calculate a total amount, you can pass that amount from the Form Calculation widget to the payment field in your form, which is PayPal Checkout.

    How-to-pass-a-calculation-to-a-payment-field

    Another condition is needed to show/hide the PayPal Checkout field in your form based on the selected option on this field in your form.

    1555211445t23 10 06 Screenshot 10

    How-to-Show-or-Hide-Fields-Base-on-User-s-Answer

    I hope this helps. If, in any case, you have any questions or you need clarifications with the guides that I have linked above, please do not hesitate to let us know so we can further help you.

  • dazzledoit
    Replied on April 14, 2019 at 7:43 AM
    Thanks for your reply.It sounds fairly complicated on 1st inspection. As I said I am not an IT guy, just a driver who trying to allow a form to allow online bookings.So I want a form that has.Customer info, date and time of pickup ,address etc etcIs it a return or one way journey. If returnComplete return details and date etc.Then they have a list of standard prices from/to destinations etc & surcharge options for late night and or early morning etc.They tick all that apply.Get given a total.Then select eitherPay online (Paypal,), orPay Later to Driver.Pay online go to PayPal checkoutPay Later just go submit form.Is there any sort of template I can use to help. This all seems abit beyond my technical knowledge. I know what I want to achieve I just don't know really how to accomplish it. Finally...In a separate thread I have also requested a condition with daTe/time option. I want an error to be displayed if customer tries to enter a date within 72 hours.ie Today +3 days.I don't want people able to book online within 72 hours. I want a message displayed saying.Bookings online not allowed with 72 hours please phone xxxxxxxxxxxx.This is to ensure I can source availability of driver and car. This is being address in separate thread though.RegardsDarylDH Executive Cars T:  01256 973747M: 07920 053291E:  bookings@dhexecutivecars.comW: www.dhexecutivecars.com
    ...
  • dazzledoit
    Replied on April 14, 2019 at 1:43 PM

    Hi.Ok jotform I think are great. But I do wish the creation could be made a bit simpler for us average non IT folk.After spending all on Sunday on Google I think I have got my form working.I create a main form.I then created a PayPal form and a purchase order form. Both of these forms will hold my service option prices.Then in my main form I created an Iframe Embed widgets for each form. Then pasted the form links then did a single option box and did a hide field form etc and put the logic.I think it all ok now.I just wish when it loads my form from the main form that it just displays that form. The display certainly on an Android looks a bit weird.RegardsDarylDH Executive Cars T:  01256 973747M: 07920 053291E:  bookings@dhexecutivecars.comW: www.dhexecutivecars.com

    ...

  • Nik_C
    Replied on April 14, 2019 at 2:04 PM

    I checked your form https://eu.jotform.com/build/90955635306361

    And it looks fine. Regarding the viewing on phone, the form is loaded in a separate iframe, so I inserted this CSS code to both:

    iframe {
    width: 100% !important;
    }

    Please let us know how it worked.

    Thank you!


  • dazzledoit
    Replied on April 14, 2019 at 2:43 PM
    Hi it looks exactly the same.The PayPal form or Pay driver form just sort of opens up below the main. Form. You then have to ensure you scroll up and down in the correct area.Doesn't look great but if that's what we got to accept then fine. I just worried that customers may not know where to click and how to scroll and fully open the form.RegardsDarylDH Executive Cars T:  01256 973747M: 07920 053291E:  bookings@dhexecutivecars.comW: www.dhexecutivecars.com
    ...