| @@ -383,9 +383,9 @@ | ||
| 383 | 383 | 'recurring_limit' => $price_data['recurring_limit'], |
| 384 | 384 | 'time' => $time, |
| 385 | 385 | 'type' => $type, |
| 386 | 386 | 'description' => $description, |
| 387 | - 'can_user_cancel' => $cart_item['data']->get_meta( '_subscrpt_user_cancel' ), | |
| 387 | + 'can_user_cancel' => Helper::can_user_cancel( $cart_item['data']->get_meta( '_subscrpt_user_cancel' ) ) ? 'yes' : 'no', | |
| 388 | 388 | 'max_no_payment' => ! empty( $cart_item['subscrpt_max_no_payment'] ) |
| 389 | 389 | ? (int) $cart_item['subscrpt_max_no_payment'] |
| 390 | 390 | : $cart_item['data']->get_meta( '_subscrpt_max_no_payment' ), |
| 391 | 391 | 'split_total' => isset( $cart_item['subscrpt_split_total'] ) ? (float) $cart_item['subscrpt_split_total'] : null, |