Title: Donations error
Last modified: January 7, 2018

---

# Donations error

 *  Resolved [zrarc](https://wordpress.org/support/users/zrarc/)
 * (@zrarc)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/donations-error/)
 * Hi
    When I try to give a donation using a custom donations form, I get an error
   message: “There was an error processing your donation. Reason:”. How can I resolve
   this problem? Best regards, Zan
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdonations-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/donations-error/#post-9841880)
 * Hi [@zrarc](https://wordpress.org/support/users/zrarc/),
 * That error occurs when you have entered an incorrect value for the Merchant ID
   or Merchant Account ID.
 * On the plugin’s donation settings page ensure you haven’t entered your merchant
   ID where the merchant account value should be.
 * Also another common mistake that can cause this error is entering your merchant
   account value where the merchant ID should be entered on the API settings page.
 * Kind regards,
 *  Thread Starter [zrarc](https://wordpress.org/support/users/zrarc/)
 * (@zrarc)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/donations-error/#post-9850318)
 * Hi, you were correct in assuming the merchant account value was incorrect. Now
   I get the message: “Internal Server Error”. But the transaction did get registered
   in the Braintree panel.
 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/donations-error/#post-9852782)
 * Hi [@zrarc](https://wordpress.org/support/users/zrarc/),
 * Can you check in your server’s error logs? That will provide a location where
   the exception was thrown that caused the internal server error. That info will
   aide in troubleshooting and identify the problem.
 * Kind Regards,
 *  Thread Starter [zrarc](https://wordpress.org/support/users/zrarc/)
 * (@zrarc)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/donations-error/#post-9858147)
 * Please guide me to where I can find these error logs.
    Regards,
 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/donations-error/#post-9867796)
 * Hi,
 * That depends on the server you are using. Here is an example if you are using
   Apache.
 * [https://askubuntu.com/questions/14763/where-are-the-apache-and-php-log-files](https://askubuntu.com/questions/14763/where-are-the-apache-and-php-log-files)
 * If you aren’t using Apache you can perform a similar search using a search engine
   such as Google.
 * Kind Regards,
 *  Thread Starter [zrarc](https://wordpress.org/support/users/zrarc/)
 * (@zrarc)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/donations-error/#post-9883171)
 * This is the only error log that comes up, but it does not correspond to the time
   signature of transaction, but to the time when the page is loading.
 * [19-Jan-2018 21:23:50 UTC] PHP Warning: mysqli_num_fields() expects parameter
   1 to be mysqli_result, boolean given in /home/applemem/public_html/cujecnost.
   org/wp-includes/wp-db.php on line 3182
 *  Thread Starter [zrarc](https://wordpress.org/support/users/zrarc/)
 * (@zrarc)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/donations-error/#post-9885243)
 * I disabled the database cache in the W3 Total Cache plugin. This solves the error
   log reported in the last post. But the “internal server error” message still 
   comes up when a user should be directed to the success page (Braintree registers
   transactions as successful).
 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/donations-error/#post-9887157)
 * Hi zrarc,
 * Can you reach out to me using the support email and I can take a closer look 
   at your setup and site?
 * Any information beneficial to this thread will be posted but you can share your
   website details etc with me via the support email.
 * Kind Regards,
 *  Thread Starter [zrarc](https://wordpress.org/support/users/zrarc/)
 * (@zrarc)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/donations-error/#post-9888529)
 * Please specify the support email where I can reach you.
 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/donations-error/#post-9890258)
 * Hi,
 * Please look on the plugin’s homepage and you will see the support email.
 * [https://wordpress.org/plugins/woo-payment-gateway/](https://wordpress.org/plugins/woo-payment-gateway/)
 * In my experience WordPress does not like it when emails are provided in support
   threads.
 * Thanks,

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Donations error’ is closed to new replies.

 * ![](https://ps.w.org/woo-payment-gateway/assets/icon-256x256.png?rev=2142799)
 * [Payment Plugins Braintree For WooCommerce](https://wordpress.org/plugins/woo-payment-gateway/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-payment-gateway/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-payment-gateway/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-payment-gateway/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-payment-gateway/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-payment-gateway/reviews/)

## Tags

 * [error message](https://wordpress.org/support/topic-tag/error-message/)

 * 10 replies
 * 2 participants
 * Last reply from: [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/donations-error/#post-9890258)
 * Status: resolved