Problem with processing WorldPay US payment. SECURE KEY IS INVALID FOR SECURENET ID PROVIDED.

  • Profile Image
    communications_gsrv
    Asked on April 12, 2019 at 03:01 PM

    Hello,

    We are using the WorldPay Us integration for our camp care package order form. I have the Payment field set to "Sandbox Mode" and when I test the form with a real or fake credit card number I receive the following message: "There was a problem processing your request. SECURE KEY IS INVALID FOR SECURENET ID PROVIDED." I have checked and rechecked the security key and SecureNet ID that was provided to us through WorldPay customer service. I just want to see if there is anything that I am doing wrong in JotForms before I reach out to WorldPay to confirm the key and ID.

    Thank you in advance!

    Natalie 

  • Profile Image
    EltonCris
    Answered on April 12, 2019 at 05:02 PM

    We have a guide with WorldPay US that also includes test credentials for payments here https://www.jotform.com/help/448-How-to-integrate-Worldpay-US-with-JotForm

    Also, based on the error, the provided secure key is invalid. Since you're on Sandbox mode, please ensure that you're using test API keys from WorldPay, not the live ones.

  • Profile Image
    communications_gsrv
    Answered on April 15, 2019 at 01:06 PM

    Where do I find these test API keys from WorldPay?


    Thanks,

    Natalie

  • Profile Image
    Richie_P
    Answered on April 15, 2019 at 02:11 PM

    The API keys should be in your Worldplay account at this link:https://online.worldpay.com/settings/keys

    If you need further assistance, let us know.

  • Profile Image
    communications_gsrv
    Answered on April 15, 2019 at 05:07 PM

    Thank you Richie,

    Just to be clear, we already have the live API Key, but @EltonCris said we should use a TEST API key in order to conduct testing in sandbox mode.  Unfortunately, we are experiencing issues gaining access to https://online.worldpay.com/settings/keys (we have an open ticket with WorldPay). Are these TEST secure API keys specific to our WorldPay account or are there generic test API keys we can utilize in order to conduct testing in sandbox mode? 

    If the test API key is specific to our account, is there any other way you recommend testing the payment part of the webform?

    Thanks,

    Natalie

  • Profile Image
    Jed_C
    Answered on April 15, 2019 at 06:27 PM

    Test API keys will be specific to your WorldPay account only. If it's in sandbox mode, you'll really need the test API key, otherwise, set it to live and you'll be submitting the form and making live payments.

    Let us know if you have any questions or if you need further assistance.