PluginProbe
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler / 1.7.1
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler v1.7.1
1.7.1 1.7.0 1.6.6 1.6.5 1.6.4 1.6.3 1.6.2 1.6.1 1.6.0 1.5.4 1.5.5 1.5.3 1.5.2 1.5.1 1.5.0 1.4.2 1.4.1 1.4.0 1.3.28 1.3.27 1.3.26 1.3.25 1.3.23 1.3.22 1.3.21 All 51 releases
← All changes | app/Modules/PaymentMethods/PayPalGateway/PayPal.php +9 -0 1.6.4 → 1.7.1 View file →
@@ -65,8 +65,10 @@
65 65 public function boot()
66 66 {
67 67 (new IPN())->init();
68 68
69 + add_action('fluent_cart_action_paypal_connect', [ConnectConfig::class, 'handleConnect']);
70 +
69 71 add_action('wp_ajax_nopriv_fluent_cart_confirm_paypal_payment', [$this, 'confirmPayPalSinglePayment']);
70 72 add_action('wp_ajax_fluent_cart_confirm_paypal_payment', [$this, 'confirmPayPalSinglePayment']);
71 73
72 74 add_action('wp_ajax_nopriv_fluent_cart_confirm_paypal_subscription', [$this, 'confirmPayPalSubscription']);
@@ -1057,8 +1059,15 @@
1057 1059 'value' => 'test',
1058 1060 'schema' => $testSchema
1059 1061 ]
1060 1062 ]
1063 + ],
1064 + 'brand_name' => [
1065 + 'value' => '',
1066 + 'label' => __('Brand name', 'fluent-cart'),
1067 + 'placeholder' => __('Shown on the PayPal checkout instead of your business name', 'fluent-cart'),
1068 + 'tooltip' => __('Optional. Up to 127 characters. Leave empty to show the name on your PayPal business account.', 'fluent-cart'),
1069 + 'type' => 'text',
1061 1070 ],
1062 1071 'provider' => array(
1063 1072 'value' => $this->settings->getProviderType(),
1064 1073 'label' => __('Provider', 'fluent-cart'),