Can’t use PayPal Donations Gateway in legacy or multi-step
-
I can use PayPal Standard and Stripe, but I cannot use the new PayPal Donations Gateway.
The multi-step form gives a 400 internal server error when submitting via admin-ajax.php
On legacy, I just see a blank page with a URL like this:
https://domain.org/donations/2035/?payment-mode=paypal-commerceIn the developer console, I see this error pertaining to the paypal-commerce.js script.
paypal-commerce.js?ver=2.9.1:18 Possible Unhandled Promise Rejection: DOMException: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node. at s.value (https://domain.org/wp-content/plugins/give/assets/dist/js/paypal-commerce.js?ver=2.9.1:18:31659) at s.value (https://domain.org/wp-content/plugins/give/assets/dist/js/paypal-commerce.js?ver=2.9.1:18:31774) at s.value (https://domain.org/wp-content/plugins/give/assets/dist/js/paypal-commerce.js?ver=2.9.1:18:13986) at n (https://domain.org/wp-content/plugins/give/assets/dist/js/paypal-commerce.js?ver=2.9.1:18:36559) at https://domain.org/wp-content/plugins/give/assets/dist/js/paypal-commerce.js?ver=2.9.1:18:37468 at https://domain.org/wp-content/plugins/give/assets/dist/js/paypal-commerce.js?ver=2.9.1:1:3255 at t.exports (https://domain.org/wp-content/plugins/give/assets/dist/js/babel-polyfill.js?ver=2.9.1:1:38857) at g.<computed> (https://domain.org/wp-content/plugins/give/assets/dist/js/babel-polyfill.js?ver=2.9.1:1:32211) at Number.x (https://domain.org/wp-content/plugins/give/assets/dist/js/babel-polyfill.js?ver=2.9.1:1:32069) at MessagePort.m (https://domain.org/wp-content/plugins/give/assets/dist/js/babel-polyfill.js?ver=2.9.1:1:32091)
This is the functions that’s outputting the error in paypal-js
a._unhandledRejectionFn = function(e) { "undefined" != typeof console && console && console.warn("Possible Unhandled Promise Rejection:", e) }
I disabled plugins, disabled security, disabled optimizations, and still have this issue. One time in the console it looked like it was trying to pass “null” keys to PayPal. GiveWP says I am properly connected to the PayPal Donations gateway.
Any ideas? Thanks.
- The topic ‘Can’t use PayPal Donations Gateway in legacy or multi-step’ is closed to new replies.