Title: Fatal Error using PayPal Donations
Last modified: November 9, 2023

---

# Fatal Error using PayPal Donations

 *  Resolved [argusnet](https://wordpress.org/support/users/argusnet/)
 * (@argusnet)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-using-paypal-donations/)
 * I see many threads about fatal errors with PayPal and I don’t know if this is
   the same. I received the following error when trying to submit a donation. The
   strange part is if I am logged in to WP, my transactions will go through. When
   I am not logged in, I get the following error.
 * **Fatal error**: Uncaught Give\PaymentGateways\PayPalCommerce\Exceptions\PayPalOrderIdException:
   PayPal order id is missing. in /home/customer/www/agbfd.org/public_html/wp-content/
   plugins/give/src/PaymentGateways/Actions/RegisterPaymentGateways.php:152 Stack
   trace: #0 /home/customer/www/agbfd.org/public_html/wp-includes/class-wp-hook.
   php(326): Give\PaymentGateways\Actions\RegisterPaymentGateways->Give\PaymentGateways\
   Actions\{closure}(Array) #1 /home/customer/www/agbfd.org/public_html/wp-includes/
   plugin.php(205): WP_Hook->apply_filters(Array, Array) #2 /home/customer/www/agbfd.
   org/public_html/wp-content/plugins/give/src/LegacyPaymentGateways/Adapters/LegacyPaymentGatewayAdapter.
   php(154): apply_filters(‘givewp_create_p…’, Array, Object(Give\Donations\Models\
   Donation)) #3 /home/customer/www/agbfd.org/public_html/wp-content/plugins/give/
   src/Framework/LegacyPaymentGateways/Adapters/LegacyPaymentGatewayRegisterAdapter.
   php(43): Give\LegacyPaymentGateways\Adapters\LegacyPaymentGatewayAdapter->handleBeforeGateway(
   Array, Object(Give in **/home/customer/www/agbfd.org/public_html/wp-content/plugins/
   give/src/PaymentGateways/Actions/RegisterPaymentGateways.php** on line **152**
 * There has been a critical error on this website.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-using-paypal-donations%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Support [Matheus Martins](https://wordpress.org/support/users/matheusfd/)
 * (@matheusfd)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-using-paypal-donations/#post-17191041)
 * Hi there.
 * Glad you reached out. I can explain what you are seeing here.
 * You’ve uncovered an issue that we are investigating here: [https://feedback.givewp.com/bug-reports/p/paypal-order-id-missing-error-should-not-prevent-donations-using-paypal-donation](https://feedback.givewp.com/bug-reports/p/paypal-order-id-missing-error-should-not-prevent-donations-using-paypal-donation).
   You can use the link to check in for updates, and I’ve also linked your ticket
   internally, so when the issue is resolved we can reach back out to update you.
 * This particular error has been a bit of a white whale for our teams, in part 
   because it is generated by PayPal, and in part because we are unable to reliably
   replicate it. The PayPal order id is sent as a part of the response to the call
   to PayPal, so it’s sent by PayPal itself. We’ve made repeated efforts to reach
   out to PayPal to get more information from their side, but they haven’t responded
   to those attempts thus far. With this being the case, it leaves us unable to 
   troubleshoot, because it become an issue they need to correct from their side
   of things. We never like to send our users to other support folks, but in this
   case we are left with very little information and an inability to replicate the
   problem in a way that will lead us to a fix.
 * That doesn’t mean we are ignoring this issue! Our teams are continuing our investigation
   in an attempt to make that necessary forward progress. At the moment, our best
   recommendation is for PayPal Donations users who are experiencing this error 
   to switch to PayPal Standard. This error isn’t present there, and PayPal Standard
   is a great option for non-profits. We also highly recommend Stripe as an alternative
   gateway whenever possible.
 * I know this was quite a bit of unhappy information to share, and I wish that 
   weren’t the case. My goal is to make online donations as successful and seamless
   as possible for you, so please let me know if you have any questions about this,
   I’m happy to help as much as I possibly can. If you’d like more information or
   a walkthrough for the workarounds I mentioned, I’m happy to field any questions
   you have about those as well.

Viewing 1 replies (of 1 total)

The topic ‘Fatal Error using PayPal Donations’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Matheus Martins](https://wordpress.org/support/users/matheusfd/)
 * Last activity: [2 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-using-paypal-donations/#post-17191041)
 * Status: resolved