• Resolved etazo

    (@etazo)


    Hi

    I have the eway plugin install and configured correctly but running into an issue where, upon submission, the form thinks that the credit card number and security code fields are empty (obviously they are not) and marks them accordingly as red and empties them. If you re-fill in the form then repress the submit button it does not do anything (submit or validate).

    I can not see an error in the console. Debug et al are all on.

    If you force the form to submit (using jquery #form.submit()) it processes correctly and sends the money to eway (it shows up in eway reports). This is both live and in the sandbox.

    How might I track down what is happening here?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author webaware

    (@webaware)

    G’day etazo,

    It looks like some other script on the page is enforcing a field value there.

    With eWAY, the field values for the card number and security code are encrypted and added as hidden fields, then the original fields are wiped clean. It’s all sorted out at the server side, and the encrypted values are sent to eWAY. The server never gets to see the real card number nor security code.

    Do you have a custom script that you’ve added for field validation? It’s likely something like that.

    cheers,
    Ross

    Plugin Author webaware

    (@webaware)

    Found it, you need to allow the credit card fields to be empty in your theme’s script. Search for “fields validation”

    https://ipswichskips.com.au/wp-content/themes/ipswitch/assets/js/scripts.js

    cheers,
    Ross

    Thread Starter etazo

    (@etazo)

    Champion, thanks for taking to time to help with this. All sorted now.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Form not submitting, thinks that number and Security Code are empty’ is closed to new replies.