Invalid Secure Route
-
Random error
error details:{ “routeSignature”: “94933483b9fc50d9b0696d9a21977d27”, “signature”: { “Object Class”: “Give\\DonationForms\\Routes\\DonateRouteSignature”, “\u0000Give\\DonationForms\\Routes\\DonateRouteSignature\u0000signature”: “givewp-donation-form-authentication|1750417938”, “expiration”: “1750417938” }, “signatureString”: “givewp-donation-form-authentication|1750417938”, “signatureHash”: “94933483b9fc50d9b0696d9a21977d27”, “signatureExpiration”: “1750417938” }
-
Hello @evanover ,
Glad you reached out, happy to help!
The “Invalid Secure Route” error message is basically saying there isn’t a secure route (like a payment token) to assure that the payment will be processed securely. This is 100% caused by caching as the “route” hasn’t been refreshed.
In order to verify that my hypothesis is right here, we need to exclude any asset loaded by GiveWP from the cache. Note that clearing all caching is not the same as it will only build up again and the issue will resurface.
Caching is handled differently on various sites and web hosts, and most of them allow for excluding specific URLs or parts of URLs from caching. At the very least, you should exclude the following slugs from caching:
- /donations/
- /donation-confirmation/
- /donor-dashboard/
Furthermore, the following query strings:
- give-embed=donor-dashboard
- giveDonationFormInIframe=1
- give-route
Your host or the caching plugin/solution you are using can help with that. Some of them may require what’s called a “wildcard” like /donations/* to capture all subdirectories under the /donations/ folder.
You can also temporarily disable caching on the site completely to confirm that the uncached site isn’t showing the problem.
While fine-tuning cache falls outside the scope of the support we’re able to provide, your success with online donations is our number one priority, and we’re happy to provide any tips.
Reference article for more details can be viewed here:
https://givewp.com/documentation/resources/caching/Let us know how things go, and if you have further questions! 🙂
Hello again,
Just checking in on how those caching exclusions went to solve the issue?
Or, if you still need help, just reply to this message so we may assist further.
Have a great rest of your day/evening 🙂
Still receiving
Donation Route Error: validation_error using Flyingpress and the exclusions look like this/golf-tournament-registration
/spay-day
/spay-neuter-application
/donate/*
/addons.*
/checkout.*
/my-account.*
/cart.*
/basket.*
./phpinfo.php ./xmlrpc.php
/opcache.php
/.login.php ./wp-cron.php
/user
/admin
./administrator ./wp-admin
/donor-dashboard/*
/donation-confirmation/*
/donation-failed/*
/donation-history/*
/recurring-donations/*
and the Query Strings to Cache looks like this
give-embed=donor-dashboard
giveDonationFormInIframe=1
give-routeHello @evanover,
Thanks for the update! Can you send us the full form log please from the most recent form error that you shared. Also, please include top portion of the log that shows the date/time of the donation attempt.
Thanks in advance!
Log ID: 3782
Description:Donation Route Error: validation_error
Category:Core
Source:Give Core
Date & Time:2025-08-25 12:38:48
Error details:
<span style=”background-color: rgb(240, 240, 240); color: rgb(0, 0, 0); font-family: "Courier 10 Pitch", Courier, monospace; font-size: 15px; white-space-collapse: break-spaces;”>{</span>
"error_type": "validation_error",
"exceptionMessage": "Form field validation error",
"formData": {
"gatewayId": "authorize",
"requestData": {
"givewp-route": "donate",
"givewp-route-signature": "dc5f8de0eecf96044ef4c49e1824a11c",
"givewp-route-signature-id": "givewp-donate",
"givewp-route-signature-expiration": "1756211626",
"amount": "140",
"currency": "USD",
"donationType": "single",
"subscriptionPeriod": "one-time",
"subscriptionFrequency": "1",
"subscriptionInstallments": "0",
"formId": "17165",
"enableTribute": "show",
"tributeType": "In memory of a lost loved one",
"gatewayId": "authorize",
"feeRecovery": "3.0173292558613696",
"firstName": "Lore",
"lastName": "Beers",
"company": "",
"email": "[email protected]",
"comment": "",
"country": "US",
"address1": "8 Lakeshore Drive",
"address2": "",
"city": "Agency",
"state": "MO",
"zip": "64401",
"donationBirthday": "",
"tributeFirstName": "Phyllis",
"tributeLastName": "Blue",
"tributesSendNotification": "send",
"originUrl": "https://petforu.com/donate/?doing_wp_cron=1756125218.3489189147949218750000",
"isEmbed": "true",
"embedId": "give-form-shortcode-1",
"locale": "en_US",
"gatewayData": {
"give_authorize_data_descriptor": "COMMON.ACCEPT.INAPP.PAYMENT",
"give_authorize_data_value": "eyJjb2RlIjoiNTBfMl8wNjAwMDUyOTU0MThBMzcyRUVFMDBCQzU4MDA0MzNCRTJCMEEwOUZGOEE3MEVCN0ZEMzA5MjMyOURCQkMxNjM4NDcyODI2MkQ2MDI0MDVFOEE3NzY5QUEyMjQyOUUxMDZDMUJDQTk2IiwidG9rZW4iOiI5NzU2MTI1NTI1ODQ4NDA3MjA0NjA5IiwidiI6IjEuMSJ9"
},
"woocommerce-login-nonce": null,
"_wpnonce": null,
"woocommerce-reset-password-nonce": "redacted",
"woocommerce-edit-address-nonce": null,
"save-account-details-nonce": null
},
"formId": 17165,
"originUrl": "https://petforu.com/donate/?doing_wp_cron=1756125218.3489189147949218750000",
"embedId": "give-form-shortcode-1",
"isEmbed": true
}
}Hello @evanover ,
Thank you for the form log details!
In the log I see you are using several of our premium add-ons, which we cannot provide support for here. Please go to our priority support page in here to reach out — https://givewp.com/priority-support/, and we’ll be happy to continue troubleshooting.
When you reach out, you’ll be prompted to include your system info which would be super helpful in this case. To do this, navigate to GiveWP > Tools > System Info (tab), click the button to Get System Report and copy/paste ALL of the text in your reply to us here. This is a (silent) screen video showing you were to find this information in your WordPress admin: https://www.loom.com/share/28139090d53c4fb5a26ea11dd04d0227
I’m marking this one as resolved here in.org support, but will be on the lookout for your support ticket in Priority Support.
The topic ‘Invalid Secure Route’ is closed to new replies.