| @@ -50,10 +50,13 @@ | ||
| 50 | 50 | return self::get_settings()->settings->test_mode ? 'test' : 'live'; |
| 51 | 51 | } |
| 52 | 52 | |
| 53 | 53 | /** |
| 54 | - * Add education about Stripe fees. | |
| 54 | + * Add education about Square fees. | |
| 55 | 55 | * |
| 56 | + * Square is not included in a grandfathered license, so its fees always apply | |
| 57 | + * there even though Stripe fees do not. | |
| 58 | + * | |
| 56 | 59 | * @param string $content UTM Content for the admin upgrade link. |
| 57 | 60 | * @param array|false|string $gateway Gateway or list of gateways this applies to. |
| 58 | 61 | * |
| 59 | 62 | * @return void |
| @@ -58,11 +61,9 @@ | ||
| 58 | 61 | * |
| 59 | 62 | * @return void |
| 60 | 63 | */ |
| 61 | 64 | public static function fee_education( $content = 'tip', $gateway = false ) { |
| 62 | - $license_type = FrmAddonsController::license_type(); | |
| 63 | - | |
| 64 | - if ( in_array( $license_type, array( 'elite', 'business' ), true ) ) { | |
| 65 | + if ( ! FrmAddonsController::payment_fees_apply( 'square' ) ) { | |
| 65 | 66 | return; |
| 66 | 67 | } |
| 67 | 68 | |
| 68 | 69 | $classes = 'frm-light-tip show_square'; |