• Resolved pedramsahar

    (@pedramsahar)


    Hello,

    On the donation form, when I get the payment page, and press donate now, im given this eror message. When I go to Donations > Tools > Logs this is the error message there, along with when I click the eye icon:

    Description:Donation Route Error: unknown_error

    Category:Core

    Source:Give Core

    Date & Time:2025-03-08 11:30:23

    Error details:{ “error_type”: “unknown_error”, “exceptionMessage”: “‘firstName’ is required.”, “formData”: { “gatewayId”: “manual”, “requestData”: { “givewp-route”: “donate”, “givewp-route-signature”: “8a19dc79a317c76e9e7670205c8abb5c”, “givewp-route-signature-id”: “givewp-donate”, “givewp-route-signature-expiration”: “1741519798”, “amount”: “10”, “currency”: “GBP”, “donationType”: “single”, “formId”: “25”, “gatewayId”: “manual”, “firstName”: “Pedram”, “lastName”: “”, “email”: “[email protected]”, “comment”: “”, “donationBirthday”: “”, “originUrl”: “https://thembbproject.com/#donations”, “isEmbed”: “true”, “embedId”: “give-form-shortcode-1”, “locale”: “en_US”, “gatewayData”: { “testGatewayIntent”: “test-gateway-intent” } }, “formId”: 25, “originUrl”: “https://thembbproject.com/#donations”, “embedId”: “give-form-shortcode-1”, “isEmbed”: true } }

    I’m not quite sure how to fix this so the payments go through and would appreciate guidance on this, additionally I am the developer of the site and I am using Stripe as the payment processor and have linked it to the form.

    Thank you,

    Pedram Saharkhizian

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Robin Joshua Del Mundo

    (@robindelmundo)

    Hi @pedramsahar ,

    Glad you reached out! Happy to help.

    You’re on the right track in sending those along! Thanks for the error logs!

    It sounds like there’s a First Name missing in the database, even though it shows in GiveWP. This is commonly associated with breaking the donation submission for donors who have donated before, and might also be the cause of the export having an error. There was a migration a long time that took care of this, but we’ve had a minimal number of customers where the migration didn’t work.

    That error is basically an upgrade issue for the core GiveWP plugin. Meaning, during an update, a database update process did not finish successfully or completely for some reason.

    The video below from our senior support technician below explains why the “firstName is required” error is happening, and how to correct it using a code snippet. You’ll want to allow it some time to check all existing donor records, and then it can be deactivated or removed. If you have a full staging site, I would suggest applying it there first. And of course, make sure and take a reliable backup you can restore from of your live site when you’re ready to apply it there.

    My colleague made this video to explain some context and how to fix it:
    https://www.loom.com/share/3df4fd999b8c46c594ae19d85ffcd47e?sid=0d08909b-c22c-4d2e-973d-66474c710707

    The code in the video can be found here: https://gist.github.com/rickalday/0c93e542144d93de78fccee6413da11e.

    If you need assistance implementing custom PHP code on your website, we have this guide: https://givewp.com/documentation/resources/adding-custom-functions-to-your-wordpress-website/

    Please note that this code snippet is provided as an example of how you can extend GiveWP with code. It’s up to you to implement and customize to your liking. We cannot provide support for custom code on your website, only the code that we create and distribute.

    Please let me know once you’ve implemented and tested the above.

    Meanwhile, I’m here for further questions or additional assistance.

    Have a lovely day!

    Plugin Support Robin Joshua Del Mundo

    (@robindelmundo)

    Hi @pedramsahar ,

    It’s been a while since we’ve heard back, and I know troubleshooting needs a little extra time. I’m marking this as resolved for now, but if you still have questions, you can send them along right here, and I’ll be happy to hop back in.

    Have a great day!

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

The topic ‘Error Message’ is closed to new replies.