| @@ -49,8 +49,14 @@ | ||
| 49 | 49 | * @since 0.0.2 |
| 50 | 50 | */ |
| 51 | 51 | public static function update_tables() { |
| 52 | 52 | //Add column |
| 53 | + // `refund_info` is Pro's: only Pro's refunds write it, and Better Payment Pro | |
| 54 | + // 1.4.4+ adds the column itself (Pro Installer::add_refund_info_column()). Lite | |
| 55 | + // still adds it, idempotently, as a data guard for Pro 1.4.3: that Pro relies | |
| 56 | + // on Lite for it, and on a fresh install its refund would reach the gateway | |
| 57 | + // and then fail to record, leaving a refunded row marked paid. Stop once no | |
| 58 | + // supported site can run Pro 1.4.3. | |
| 53 | 59 | self::add_column( 'refund_info', 'longtext' ); |
| 54 | 60 | self::add_column( 'campaign_id', 'text' ); |
| 55 | 61 | } |
| 56 | 62 | |