• hi

    I am using the Mastercard mpgs plugin and all credintials and url are there and correct but customers are getting this message on checkout

    Error: {“cause”:”INVALID_REQUEST”,”explanation”:”Invalid request”,”supportCode”:”4BVQU3PFDBZ4G”,”result”:”ERROR”}

    how can I fix it?

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

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

    (@alibasheer)

    Hi @ainmeem,

    I checked your website, and I can see that it is able to reach the pay order page:
    https://prnt.sc/tcaubp

    This means the communication between the website and the payment gateway is successful (authentication is working, URL is correct..)

    I didn’t receive your error mentioned above, however, I faced another error.

    The error I faced is related to JavaScript, there is a JS error that preventing from running the MPGS plugin JS. Check your website console and try to fix the JS error. Try to disable other plugins to make sure from where the error is fired. Try use the default WooCommerce theme and test as maybe the JS error coming from the theme you are using.

    After fixing the JS error, you should face the 2nd error that you mentioned above. The invalid request error you mentioned above means the bank gateway is refusing the request and this could be for many reasons. One of the most common reason is the currencies activated for your Merchant. You need to make sure that the currency you are using on the website (which is BHD) is enabled in your Merchant account. Sometime the bank enable only USD by default, so the website need to use USD to match the currency activated for the merchant. If you want to activate new currency you need to contact the bank to activate it for you.

    Let me know if those fix your issue, and let me know if you faced any other issue.

    Thread Starter ainmeem

    (@ainmeem)

    hi Ali

    I did as you instructed and deactivated all plugins, then changed the theme from sydny pro to twenty eighty and to astra but still no progress.

    The error I mentioned is gone because the Service provider provided me with edited version of the plug in.

    though the JS problem is not solved.

    Plugin Author Ali Basheer

    (@alibasheer)

    Hi @ainmeem ,

    Try use un-edited version of the plugin ??

    Feel free to send me the edited version of the plugin and see if I can add what they amended to the original version.

    Feel free to reach me out at [email protected]

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Invalid Request on check out’ is closed to new replies.