• Resolved rexaraya

    (@rexaraya)


    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

    (@mrdaro)

    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

    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: https://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.