PluginProbe
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder / 6.2.15
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder v6.2.15
6.2.15 6.2.14 6.2.13 6.2.12 6.2.10 6.2.11 6.2.9 6.2.8 6.2.7 6.2.6 6.2.5 6.2.4 6.2.3 6.2.2 3.6.22 3.6.31 3.6.40 3.6.41 3.6.42 3.6.50 3.6.51 3.6.60 3.6.61 3.6.62 3.6.64 All 197 releases
← All changes | app/Modules/Payments/PaymentMethods/Stripe/StripeHandler.php +15 -1 6.2.2 → 6.2.15 View file →
@@ -105,8 +105,20 @@
105 105 'template' => 'inputYesNoCheckbox',
106 106 'value' => 'yes',
107 107 'label' => __('Embedded Checkout', 'fluentform')
108 108 ],
109 + 'enable_payment_element' => [
110 + 'type' => 'checkbox',
111 + 'template' => 'inputYesNoCheckbox',
112 + 'value' => 'no',
113 + 'label' => __('Enable Payment Element', 'fluentform'),
114 + 'help_text' => __('Replaces the card field with Stripe\'s Payment Element, which adds Apple Pay and Google Pay on supported devices. Apple Pay needs your site domain registered in Stripe under Settings > Payment method domains.', 'fluentform'),
115 + 'dependency' => array(
116 + 'depends_on' => 'embedded_checkout/value',
117 + 'value' => 'yes',
118 + 'operator' => '=='
119 + )
120 + ],
109 121 'require_billing_info' => [
110 122 'type' => 'checkbox',
111 123 'template' => 'inputYesNoCheckbox',
112 124 'value' => 'no',
@@ -241,8 +253,10 @@
241 253 if ($settings['live_secret_key'] == 'ENCRYPTED_KEY') {
242 254 $settings['live_secret_key'] = $prevSettings['live_secret_key'];
243 255 }
244 256
245 - return StripeSettings::encryptKeys($settings);
257 + $settings = StripeSettings::encryptKeys($settings);
258 +
259 + return StripeSettings::preserveUnreadableKeys($settings);
246 260 }
247 261
248 262 }