PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / trunk
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More vtrunk
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
← All changes | paypal/controllers/FrmPayPalLiteHooksController.php +3 -4 6.31 → trunk View file →
@@ -32,8 +32,11 @@
32 32 // These are called explicitly below the Lite PayPal settings.
33 33 add_filter( 'frm_add_settings_section', 'FrmPayPalLiteSettingsController::add_settings_section', 99 );
34 34 add_action( 'frm_update_settings', 'FrmPayPalLiteSettingsController::process_form' );
35 35
36 + // Hook into update_option to preserve test_mode when add-on saves
37 + add_action( 'update_option_frm_paypal_options', 'FrmPayPalLiteSettingsController::preserve_test_mode_on_update', 10, 2 );
38 +
36 39 add_filter( 'frm_before_save_payment_action', 'FrmPayPalLiteActionsController::before_save_settings', 20, 2 );
37 40
38 41 // Hook into after payment type to render Product Name and Product Type fields.
39 42 add_action( 'frm_payments_settings_recurring_product_info', 'FrmPayPalLiteActionsController::add_paypal_subscription_settings_from_hook' );
@@ -46,9 +49,8 @@
46 49 'frm_paypal_action_options',
47 50 function ( $options ) {
48 51 // Make actions using the PayPal add-on use the same icon we use in Lite.
49 52 $options['classes'] = 'frmfont frm_paypal_icon';
50 - $options['is_beta'] = true;
51 53 return $options;
52 54 }
53 55 );
54 56
@@ -80,11 +82,8 @@
80 82 add_action( 'wp_ajax_nopriv_frm_paypal_create_order', 'FrmPayPalLiteAppController::create_order' );
81 83
82 84 add_action( 'wp_ajax_frm_paypal_create_subscription', 'FrmPayPalLiteAppController::create_subscription' );
83 85 add_action( 'wp_ajax_nopriv_frm_paypal_create_subscription', 'FrmPayPalLiteAppController::create_subscription' );
84 -
85 - add_action( 'wp_ajax_frm_paypal_create_vault_setup_token', 'FrmPayPalLiteAppController::create_vault_setup_token' );
86 - add_action( 'wp_ajax_nopriv_frm_paypal_create_vault_setup_token', 'FrmPayPalLiteAppController::create_vault_setup_token' );
87 86
88 87 add_action( 'wp_ajax_frm_paypal_report_error', 'FrmPayPalLiteAppController::report_error' );
89 88 add_action( 'wp_ajax_nopriv_frm_paypal_report_error', 'FrmPayPalLiteAppController::report_error' );
90 89