• Resolved Pecnut

    (@pecnut)


    Hi Alan and forum,

    In the last two weeks the QPP plugin has stopped working for us. We have two observations:

    1) Country in Personal Details is now being forced as a drop down list instead of free text. This is really weird – nowhere can I see where this has come from. The dropdown list isn’t even complete, and it is a random assortment of countries and languages… very weird.

    2) Any attempt to submit the form (when included as a widget) produces an “Oops, got a problem here / Please check the payment details” error. Looking at the Javascript console the error appears to come from the country line. This error appears regardless of what you pick in the drop-down box, and even appears if the drop-down box doesn’t exist at all (even if it’s not included in the form!)

    Can you help? The link to the form is provided above. I don’t think we’ve done anything our end to make the behaviour change.

    Cheers — Adam

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Alan Fuller

    (@alanfuller)

    Countries

    This was changed to a drop down, as PayPal made a change and started erroring on invalid country codes, especially when zip codes were used ( PayPal cross check these now ). the list is meant to be PayPal’s valid country codes, to stop people using free text and getting PayPal errors.

    I’ll look at the widget, it is likely an issue from that change, very few people use the widget, normally just put a shortcode in an html widget..

    Thread Starter Pecnut

    (@pecnut)

    Cheers Alan,

    I’m sorry, I don’t mean widget, I am in fact including it using the [qpp] shortcode.

    I’m still confused as to what the list of countries actually is – both ‘Brazil’ and ‘Brazilian Portuguese’ are listed, for example, so it’s not just a list of countries. There are also notable countries missing from the list, like Ireland. This is a problem if people want us to mail anything there!

    The workaround to send to Ireland seems to be to use a different field in the form to record country detail (e.g. rename postcode to ‘postcode and country’).

    But even that doesn’t help with submitting the form because (I think) even if the country field is not included in the form, the country field still throws an error in the Javascript console which I think is the problem.

    I wasn’t under the impression that the country information was actually sent to PayPal but you are the expert so I believe you ??

    Thanks again — Adam

    Plugin Author Alan Fuller

    (@alanfuller)

    When you use the ‘personal info’ all the personal info fields are sent to PayPal.

    The main issue comes with using the fields incorrectly, e.g. using post code and calling it country & post code or some people have used postcode for telephone – as PayPal will reject the post code – wrong format with ‘sorry something went wrong.

    If you ‘free style’ country code the PayPal assumes the postcode is us zip format and will error with ‘oops something is not right’ if you use a UK post code for instance.

    I’ll check the list of countries tomorrow. There shou;d not be a console error – I’ll check that when on my dev system.

    You can always down load the earlier version from WordPress for the time being.

    Thread Starter Pecnut

    (@pecnut)

    Understood! Cheers Alan.

    For your bugfixing, even when I put in a valid UK address, choose ‘United Kingdom’ and use all the fields properly it still throws the error.

    I look forward to seeing the new version when it arrives! (We’ve taken you up on the gold premium version – not sure if that updates in the normal one-click way given that we downloaded the zip and uploaded to install it)

    Thanks again — Adam

    Plugin Author Alan Fuller

    (@alanfuller)

    The oops I have a problem isn’t specifically related to the country change. It is a field validation.

    The original code wasn’t too hot on identifying what field is in error – when the field isn’t displayed!

    That said, as you now have the ‘premium’ (even through it is free ) version, then we can’t use the WordPress org forums to discuss. Their rules not mine.

    You can use the contact form on https://fullworks.net to continue this issue.

    Thread Starter Pecnut

    (@pecnut)

    Have used the contact form. Cheers!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Country now drop-down creates “Please check the payment details” error’ is closed to new replies.