PluginProbe
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler / 1.6.5
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler v1.6.5
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 1.3.20 1.3.19 trunk All 48 releases
← All changes | app/Modules/PaymentMethods/PayPalGateway/API/PayPalPartner.php +6 -1 1.6.3 → 1.6.5 View file →
@@ -141,9 +141,14 @@
141 141 * @throws \Exception
142 142 */
143 143 public function sellerOnboarding()
144 144 {
145 - $return_url = admin_url('admin.php?fct_app_authenticator&method=paypal&mode=' . $this->mode);
145 + $return_url = add_query_arg([
146 + 'fluent-cart' => 'paypal_connect',
147 + 'intent' => 'return',
148 + 'mode' => $this->mode,
149 + '_wpnonce' => wp_create_nonce('fluent_cart_paypal_connect_return_' . $this->mode),
150 + ], home_url());
146 151 $capabilities = [];
147 152 $products = [
148 153 'EXPRESS_CHECKOUT'
149 154 ];