How to validate if payment method of PayPal Payment Pro is not selected.

  • Profile Image
    teckstyle
    Asked on November 11, 2014 at 10:01 PM
    if a product is selected but the card/paypal payment method is left empty- the form will direct to the "Invalid Data. This transaction cannot be processed. Please enter a valid credit card number and type."

    if I add validate[required] to the payment method radio, the submit button stays stuck on 'please wait'....

     

    is there any chance of having the product "required" and the payment method as a separate "required"?

  • Profile Image
    ashwin_d
    Answered on November 12, 2014 at 02:43 AM

    Hello teckstyle,

    is there any chance of having the product "required" and the payment method as a separate "required"?

    Unfortunately no. The payment method along with the product list are part of the same question and it is not possible to have two different validation triggered for the same question. To solve this problem, I would suggest you to set the "Default Method" of your payment question. This will solve your problem and one of the payment method will always be selected. Please check the screenshot below:

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!

  • Profile Image
    teckstyle
    Answered on November 13, 2014 at 12:51 AM

    tut, of course... thanks ;)

  • Profile Image
    ashwin_d
    Answered on November 13, 2014 at 01:59 AM

    Hello teckstyle,

    You are welcome.

    I'm very pleased that I was able to help you.

    Do get back to us if you have any questions.

    Thank you!

  • Profile Image
    arzacanada
    Answered on November 13, 2014 at 08:36 PM

    I did what was suggested above but still get the error message " Invalid Configuration.   This transaction cannot be processed due to an invalid merchant configuration."
  • Profile Image
    ashwin_d
    Answered on November 13, 2014 at 11:20 PM

    Hello arzacanada,

    I have moved your question to a new thread and you will be answered here:  http://www.jotform.com/answers/459183 

    Thank you!