Title: Error when submitting donation
Last modified: December 23, 2020

---

# Error when submitting donation

 *  Resolved [rexaraya](https://wordpress.org/support/users/rexaraya/)
 * (@rexaraya)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/error-when-submitting-donation/)
 * Hello,
 * I’ve been trying to setup donations using Stripe. I’ve tried both methods, the
   Modal (Stripe Elements) and the Redirect (Checkout 2.0) method, but none of them
   work.
 * For the Modal (Stripe Elements) I get the following error: **Error: An occurred
   while fetching the list of payment methods of the customer. Please try again.**
 * For the Redirect (Checkout 2.0) I get the following error: **Error: An occurred
   while processing the donation with the gateway. Please try your donation again.**
 * Everything is correctly setup on Stripe, including Webhooks. Also GiveWP is an
   authorized application is Stripe.
 * I don’t know what could be causing the issue, and I need your help on this one.
 * Thank you very much in advance!

Viewing 1 replies (of 1 total)

 *  Plugin Support [Rick Alday](https://wordpress.org/support/users/mrdaro/)
 * (@mrdaro)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/error-when-submitting-donation/#post-13933645)
 * Hi there,
 * This is related to an incompatibility of the Stripe library we use and CentOS
   servers: [https://github.com/impress-org/givewp/issues/4652](https://github.com/impress-org/givewp/issues/4652)
 * This has to do with the cURL version on the server.
 * We’ve reviewed a few tickets from users with the same issue and we found out 
   that there were a few changes on GoDaddy servers that modified the cURL and, 
   although it looks active on your site, it may be not working.
 * In this case, you need to contact your host to check if cURL is active AND working.
 * The user who reported that also provided a workaround in case you want to try
   it out.
 * The file you need to edit is vendor/stripe/stripe-php/lib/HttpClient/CurlClient.
   php
 * This is found in the “give” plugin folder. I made a quick screencast to help 
   you navigate and edit the file: [http://somup.com/cYQ3ccXMB6](http://somup.com/cYQ3ccXMB6)
 * Remember to test this in a staging site first if you can.
 * The other option is to upgrade the server.
 * Thanks!

Viewing 1 replies (of 1 total)

The topic ‘Error when submitting donation’ is closed to new replies.

 * ![](https://ps.w.org/give/assets/icon-256x256.jpg?rev=2873287)
 * [GiveWP - Donation Plugin and Fundraising Platform](https://wordpress.org/plugins/give/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/give/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/give/)
 * [Active Topics](https://wordpress.org/support/plugin/give/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/give/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/give/reviews/)

## Tags

 * [gateways](https://wordpress.org/support/topic-tag/gateways/)
 * [methods](https://wordpress.org/support/topic-tag/methods/)
 * [payment](https://wordpress.org/support/topic-tag/payment/)

 * 1 reply
 * 2 participants
 * Last reply from: [Rick Alday](https://wordpress.org/support/users/mrdaro/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/error-when-submitting-donation/#post-13933645)
 * Status: resolved