[Plugin: WP Stripe] stripe-functions.php – $live variable reused improperly
-
Was just looking through the code and thought I’d point out an error in the code I noticed.
Within strip-functions.php, line 97 – 103, you define the payment, but it seems you reused the $live varibale instead of the intended $paid variable:
// Define Payment if ( $paid == 1 ) { $live = 'PAID'; } else { $live = 'NOT PAID'; }should be
// Define Payment if ( $paid == 1 ) { $paid = 'PAID'; } else { $paid = 'NOT PAID'; }Hope this helps. I’m still digging in, so will let you know if I find anything else.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘[Plugin: WP Stripe] stripe-functions.php – $live variable reused improperly’ is closed to new replies.