Unclear Donation Error/Failure
-
We’re using GiveWP + Stripe on Dreamhost hosted website. Although all our settings look good, all donations are failing with this message: “The following error occurred when submitting the form: Something went wrong, please try again or contact support.”
Some things I’ve tried that have no helped:
DISABLE WP SUPER CACHE
Donations still fail. I’m not seeing any caching via my Dreamhost admin (have not yet contacted support) but these are my cache exclusions for when the plugin is active:wp-.*.php
index.php
/donor-dashboard/
/cart/
/my-account/
/checkout/
/donor-dashboard/
/donation-confirmation/
/donation-failed/
/donation-history/
/recurring-donations/
/thank-you-for-your-support/
?give-listener=stripe
Switch from Stripe Modal to Stripe Redirect (Checkout 2.0)
No effect on the error, though it also wasn't visibly obvious that the checkout had changed. Shouldn't the second option actually take me to stripe?
Attempt Donation on Staging Copy of Site, Different Host
Donations go through perfectly. Which suggests the issue is specific to the live site but I can't figure how.
Here are some logs, in case they're helpful.
Browser Console Errors:
Unchecked runtime.lastError: Cannot create item with duplicate id XXXXXXXXXX https://givewp.com/documentation/resources/caching/
Unchecked runtime.lastError: Cannot create item with duplicate id Fill - XXXXXXXXXX https://givewp.com/documentation/resources/caching/
Unchecked runtime.lastError: Cannot create item with duplicate id Edit - XXXXXXXXXX https://givewp.com/documentation/resources/caching/
Unchecked runtime.lastError: Cannot create item with duplicate id Copy first name - XXXXXXXXXX https://givewp.com/documentation/resources/caching/
Unchecked runtime.lastError: Cannot create item with duplicate id Copy last name - XXXXXXXXXX https://givewp.com/documentation/resources/caching/
Unchecked runtime.lastError: Cannot create item with duplicate id Copy address line 1 - XXXXXXXXXX https://givewp.com/documentation/resources/caching/
Unchecked runtime.lastError: Cannot create item with duplicate id Copy city/town - XXXXXXXXXX https://givewp.com/documentation/resources/caching/
Unchecked runtime.lastError: Cannot create item with duplicate id Copy ZIP/postal code - XXXXXXXXXX https://givewp.com/documentation/resources/caching/
Unchecked runtime.lastError: Cannot create item with duplicate id Copy email address - XXXXXXXXXX https://givewp.com/documentation/resources/caching/
Unchecked runtime.lastError: Cannot create item with duplicate id Copy phone number - XXXXXXXXXX https://givewp.com/documentation/resources/caching/
Unchecked runtime.lastError: The page keeping the extension port is moved into back/forward cache, so the message channel is closed.
GiveWP Tools > Logs
(There are lots of these, for each failed donation. All look the same. I've removed all identifying information.)
{
"error_type": "unknown_error",
"exceptionMessage": "Database Query",
"formData": {
"gatewayId": "stripe_payment_element",
"requestData": {
"givewp-route": "donate",
"givewp-route-signature": "XXXXXXXXXXXXXXXXXXXX",
"givewp-route-signature-id": "givewp-donate",
"givewp-route-signature-expiration": "XXXXXXXX",
"amount": "5",
"currency": "USD",
"donationType": "single",
"formId": "12902",
"firstName": "Josh",
"lastName": "XXXXXXXX",
"email": "XXXXXXXX",
"gatewayId": "stripe_payment_element",
"comment": "",
"country": "US",
"address1": "XXXXXXXX",
"address2": "",
"city": "XXXXXXXX",
"state": "XX",
"zip": "XXXXXXXX",
"anonymous": "false",
"donationBirthday": "",
"originUrl": "https://www.XXXXXXXX.com/about-passager/donate/",
"isEmbed": "true",
"embedId": "give-form-shortcode-1",
"locale": "en_US",
"gatewayData": {
"stripePaymentMethod": "card",
"stripePaymentMethodIsCreditCard": "redacted",
"formId": "12902",
"stripeKey": "XXXXXXXX",
"stripeConnectedAccountId": "XXXXXXXX"
},
"woocommerce-login-nonce": null,
"_wpnonce": null,
"woocommerce-reset-password-nonce": "redacted",
"woocommerce-edit-address-nonce": null,
"save-account-details-nonce": null
},
"formId": 12902,
"originUrl": "https://www.XXXXXXXX.com/about-passager/donate/",
"embedId": "give-form-shortcode-1",
"isEmbed": true
}
}
Thanks for your help!The page I need help with: [log in to see the link]
You must be logged in to reply to this topic.