backdrop-contrib / ubercart

A flexible but easy-to-use e-commerce system for Backdrop.
GNU General Public License v2.0
4 stars 9 forks source link

uc_paypal: txn_type can be empty for refunds in IPN #382

Closed bugfolder closed 1 year ago

bugfolder commented 1 year ago

In the PayPal IPNs, the txn_type field can be missing for refunds, which results in a watchdog warning. We can eliminate this warning by putting an isset() check in uc_paypal.pages.inc.

PR to follow.

argiepiano commented 1 year ago

LGMT!