• Resolved kalymastudio

    (@kalymastudio)


    Hi, i have a donation form wich can’t make it work. I have Stripe configuration, and in the test mode, it ALWAYS shows that message “Your donation couldn’t be processed”

    In the console, i have a 500 error in admin-ajax.php. I tried deativated all the plugins, the themes, the cache, and nothing works.

    I also have the recurring donation plugin, can’t upgrade it because the license isn’t valid yet, but I won’t pay the licence untill the free version works fine.

    Any ideas?

    Thanks!

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author WPCharitable

    (@wpcharitable)

    @kalymastudio thanks for reaching out. If you are getting the “Your donation could not be processed. Please reload the page and try again.” message and seeing an issue in the ajax request, then based on what you’ve done already the next step would be to enable debugging on your site to get more detailed reports in debug.log on what is happening during that time. You might also want to check with your host if they have made more detailed error logs as well (make sure the host isn’t blocking any outgoing communications to payment gateways). Finally in your tests – test both logged in making a donation and without.

    Thread Starter kalymastudio

    (@kalymastudio)

    Hi, thanks for the comment.

    In the error log, it shows A LOT of Deprecated functions.

    Deprecated: Creation of dynamic property Charitable_Gateway_Stripe_AM::$credit_card_form is deprecated in /srv/vhost/fundaciongeorgetown.org/home/html/wp-content/plugins/charitable/includes/gateways/class-charitable-gateway-stripe-am.php on line 68

    By the way, it worked untill I update the PHP version to PHP8.2.

    Thanks!

    • This reply was modified 1 year, 1 month ago by kalymastudio.
    Plugin Author WPCharitable

    (@wpcharitable)

    @kalymastudio Thanks for the information.

    1. I can pass along the deprecated function notices to our team, but these are notices and not errors (technically) so they shouldn’t be a result of the 500 you reported.
    2. Just now we attempted to reproduce the issue with the link you provided with Stripe and got a “missing keys” message which prevented the form from being submitted to test for the 500. Is it possible for you to set settings so we can see the 500 for ourselves?
    3. Was there anything else in the debugging logs (or anything your hosting company might be able to provide, hosting support usually has additional debugging files beyond the debug.log that WP_DEBUG can generate) that was documented at the time of you experiencing the 500 in the ajax?
    4. You said “it worked” before the PHP 8.2 update – do you mean there was no 500 or are you referring to the messages you shared in the log?
    5. We still want to confirm you deactivated ALL non-Charitable plugins (leaving only Charitable activated) AND switched to a default WordPress theme, cleared cache, and tried the form.

    We were hoping to rely on error logs to give us a specific error message to work with, so this is very odd.

    Thread Starter kalymastudio

    (@kalymastudio)

    2. Yes. The stripe platform logout very often, so I need to check with the customer, it’s connected right nbw.

    3. It was nothing more. A lot of deprecated functions, nothing more.

    4. The donations form worked just fine. Without any error.

    5. I already tried that. All the plugins except the charitable one, and the default theme also. Nothing works.

    Thanks!

    Plugin Author WPCharitable

    (@wpcharitable)

    @kalymastudio in attempt to display and more meaningful error message, can you add/enable WP_DEBUG_DISPLAY so that instead of the generic WP error display in the ajax reponse we can get something more detailed?

    This would need to be added or placed in your wp-config.php:

    define( 'WP_DEBUG_DISPLAY', true );

    If nothing changes, then the php error reporting settings for PHP or the server might need to be double checked. Thanks!

    Plugin Author WPCharitable

    (@wpcharitable)

    Our team did test a plan fresh install with Charitable core plugin only in test mode and Stripe with PHP 8.2 and worked without issue. So a detailed error message would help things further here – hopefully with the DEBUG DISPLAY issue or additional information from the host. If you want to share credentials securely with our team to possible help further you may do so here.

    I’m going to go ahead and close this thread for now. But if you’d like us to assist further, please feel welcome to continue the conversation.

    Thanks!

    Thread Starter kalymastudio

    (@kalymastudio)

    Thanks, I will contact you through that link because I can’t have the debug active too much time because is a live web.

    Thank you!

    Thread Starter kalymastudio

    (@kalymastudio)

    I already write you. Please answer me in any moment.

    Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Your donation could not be processed’ is closed to new replies.