Bug Report: Mode not set
-
Hi all!
Hope you’re doing great! As suggested by Matt Cromwell, I’m posting some new bug reports here first:
This one is pretty simple and is related to how new payments are added into the DB when a renewal payment is made via any of the gateways. In particular: add_payment() in wp-content/plugins/give-recurring/includes/give-subscription.php isn’t setting the$payment->mode
parameter. As such, recurring donations look like they’re coming in through Live Mode, even if they’re in fact in Test Mode.
Adding the simple line of$payment->mode = $parent->mode;
would help resolve this by setting the payment mode to the same payment mode used on the parent payment.Hope that helps!
D
- The topic ‘Bug Report: Mode not set’ is closed to new replies.