PluginProbe
Subscriptions for WooCommerce with Stripe Recurring Payments / 2.3.0
Subscriptions for WooCommerce with Stripe Recurring Payments v2.3.0
2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.11.2 1.11.1 1.11.0 1.10.9 1.10.8 1.10.7 1.10.6 1.10.5 1.10.4 1.10.3 1.10.2 1.10.1 1.10.0 1.9.6 1.9.5 trunk 1.3.0 1.3.1 1.3.2 1.4.0 All 65 releases
← All changes | includes/Admin/Integrations.php +32 -33 2.4.0 → 2.3.0 View file →
@@ -89,10 +89,9 @@
89 89 if ( ! $screen || false === strpos( $screen->id, 'wp-subscription-integrations' ) ) {
90 90 return;
91 91 }
92 92
93 - wp_enqueue_script( 'subscrpt-integrations', SUBSCRPT_ASSETS . '/js/integration_settings.js', [ 'wp-i18n' ], SUBSCRPT_VERSION, true );
94 - wp_set_script_translations( 'subscrpt-integrations', 'subscription', SUBSCRPT_PATH . '/languages' );
93 + wp_enqueue_script( 'subscrpt-integrations', SUBSCRPT_ASSETS . '/js/integration_settings.js', [], SUBSCRPT_VERSION, true );
95 94
96 95 wp_localize_script(
97 96 'subscrpt-integrations',
98 97 'subscrptIntegrations',
@@ -258,9 +257,9 @@
258 257 protected function get_integrations(): array {
259 258 $integrations = [
260 259 'paypal' => [
261 260 'title' => 'PayPal',
262 - 'description' => __( 'Accept recurring subscription payments directly through PayPal.', 'subscription' ),
261 + 'description' => 'Accept recurring subscription payments directly through PayPal.',
263 262 'icon_url' => SUBSCRPT_ASSETS . '/images/integrations/paypal.svg',
264 263 'type' => 'payment_gateway',
265 264 'is_installed' => 'on' === get_option( 'wp_subs_paypal_integration_enabled', 'off' ),
266 265 'is_active' => self::is_gateway_enabled( 'wp_subscription_paypal' ),
@@ -273,9 +272,9 @@
273 272 // 'function' => 'wpSubsInstallPaypalIntegration()',
274 273 // ],
275 274 [
276 275 'action' => 'settings',
277 - 'label' => __( 'Settings', 'subscription' ),
276 + 'label' => 'Settings',
278 277 'type' => 'link',
279 278 'url' => admin_url( 'admin.php?page=wc-settings&tab=checkout&section=wp_subscription_paypal' ),
280 279 ],
281 280 // [
@@ -288,9 +287,9 @@
288 287 ],
289 288 ],
290 289 'stripe' => [
291 290 'title' => 'Stripe',
292 - 'description' => __( 'Process subscription payments securely with Stripe.', 'subscription' ),
291 + 'description' => 'Process subscription payments securely with Stripe.',
293 292 'icon_url' => SUBSCRPT_ASSETS . '/images/integrations/stripe.png',
294 293 'type' => 'payment_gateway',
295 294 'is_installed' => class_exists( 'WC_Stripe' ),
296 295 'is_active' => self::is_gateway_enabled( 'stripe' ),
@@ -297,15 +296,15 @@
297 296 'supports_recurring' => true,
298 297 'actions' => [
299 298 [
300 299 'action' => 'install',
301 - 'label' => __( 'Install Now', 'subscription' ),
300 + 'label' => 'Install Now',
302 301 'type' => 'function',
303 302 'function' => "subscrptInstallPlugin(this, 'woocommerce-gateway-stripe')",
304 303 ],
305 304 [
306 305 'action' => 'settings',
307 - 'label' => __( 'Settings', 'subscription' ),
306 + 'label' => 'Settings',
308 307 'type' => 'link',
309 308 'url' => admin_url( 'admin.php?page=wc-settings&tab=checkout&section=stripe&panel=settings' ),
310 309 ],
311 310 ],
@@ -311,9 +310,9 @@
311 310 ],
312 311 ],
313 312 'paddle' => [
314 313 'title' => 'Paddle',
315 - 'description' => __( 'Process subscription payments securely with Paddle.', 'subscription' ),
314 + 'description' => 'Process subscription payments securely with Paddle.',
316 315 'icon_url' => SUBSCRPT_ASSETS . '/images/integrations/paddle.svg',
317 316 'type' => 'payment_gateway',
318 317 'is_installed' => class_exists( 'SmartPayWoo\Gateways\Paddle\SmartPay_Paddle' ),
319 318 'is_active' => self::is_gateway_enabled( 'smartpay_paddle' ),
@@ -320,15 +319,15 @@
320 319 'supports_recurring' => true,
321 320 'actions' => [
322 321 [
323 322 'action' => 'install',
324 - 'label' => __( 'Get Paddle', 'subscription' ),
323 + 'label' => 'Get Paddle',
325 324 'type' => 'external_link',
326 325 'url' => 'https://wpsmartpay.com/paddle-for-woocommerce/',
327 326 ],
328 327 [
329 328 'action' => 'enable',
330 - 'label' => __( 'Enable Gateway', 'subscription' ),
329 + 'label' => 'Enable Gateway',
331 330 'type' => 'toggle_option',
332 331 'option_key' => 'woocommerce_enable_paddle_gateway',
333 332 'value' => true,
334 333 ],
@@ -333,14 +332,14 @@
333 332 'value' => true,
334 333 ],
335 334 [
336 335 'action' => 'settings',
337 - 'label' => __( 'Settings', 'subscription' ),
336 + 'label' => 'Settings',
338 337 'type' => 'link',
339 338 'url' => admin_url( 'admin.php?page=wc-settings&tab=checkout&section=smartpay_paddle&from=WCADMIN_PAYMENT_SETTINGS' ),
340 339 ],
341 340 [
342 - 'label' => __( 'More Details', 'subscription' ),
341 + 'label' => 'More Details',
343 342 'type' => 'external_link',
344 343 'url' => 'https://wpsmartpay.com/paddle-for-woocommerce/',
345 344 ],
346 345 ],
@@ -346,9 +345,9 @@
346 345 ],
347 346 ],
348 347 'mollie' => [
349 348 'title' => 'Mollie',
350 - 'description' => __( 'Pay for subscriptions with Mollie Payments for WooCommerce.', 'subscription' ),
349 + 'description' => 'Pay for subscriptions with Mollie Payments for WooCommerce.',
351 350 'icon_url' => SUBSCRPT_ASSETS . '/images/integrations/mollie.png',
352 351 'type' => 'payment_gateway',
353 352 'is_pro' => true,
354 353 'is_installed' => class_exists( 'Mollie\WooCommerce\Activation\ActivationModule' ),
@@ -356,20 +355,20 @@
356 355 'supports_recurring' => true,
357 356 'actions' => [
358 357 [
359 358 'action' => 'install',
360 - 'label' => __( 'Install Now', 'subscription' ),
359 + 'label' => 'Install Now',
361 360 'type' => 'function',
362 361 'function' => "subscrptInstallPlugin(this, 'mollie-payments-for-woocommerce')",
363 362 ],
364 363 [
365 364 'action' => 'settings',
366 - 'label' => __( 'Settings', 'subscription' ),
365 + 'label' => 'Settings',
367 366 'type' => 'link',
368 367 'url' => admin_url( 'admin.php?page=wc-settings&tab=mollie_settings' ),
369 368 ],
370 369 [
371 - 'label' => __( 'More Details', 'subscription' ),
370 + 'label' => 'More Details',
372 371 'type' => 'external_link',
373 372 'url' => 'https://docs.wpsubscription.co/en/wpsubscription-payment-with-mollie?utm_source=plugin&utm_medium=admin&utm_campaign=docs',
374 373 ],
375 374 ],
@@ -375,9 +374,9 @@
375 374 ],
376 375 ],
377 376 'razorpay' => [
378 377 'title' => 'Razorpay',
379 - 'description' => __( 'Pay for subscriptions securely with Razorpay for WooCommerce.', 'subscription' ),
378 + 'description' => 'Pay for subscriptions securely with Razorpay for WooCommerce.',
380 379 'icon_url' => SUBSCRPT_ASSETS . '/images/integrations/razorpay.png',
381 380 'type' => 'payment_gateway',
382 381 'is_pro' => true,
383 382 'is_beta' => true,
@@ -386,20 +385,20 @@
386 385 'supports_recurring' => true,
387 386 'actions' => [
388 387 [
389 388 'action' => 'install',
390 - 'label' => __( 'Install Now', 'subscription' ),
389 + 'label' => 'Install Now',
391 390 'type' => 'function',
392 391 'function' => "subscrptInstallPlugin(this, 'woo-razorpay')",
393 392 ],
394 393 [
395 394 'action' => 'settings',
396 - 'label' => __( 'Settings', 'subscription' ),
395 + 'label' => 'Settings',
397 396 'type' => 'link',
398 397 'url' => admin_url( 'admin.php?page=wc-settings&tab=checkout&section=razorpay' ),
399 398 ],
400 399 [
401 - 'label' => __( 'More Details', 'subscription' ),
400 + 'label' => 'More Details',
402 401 'type' => 'external_link',
403 402 'url' => 'https://docs.wpsubscription.co/en/wpsubscription-payment-with-razorpay?utm_source=plugin&utm_medium=admin&utm_campaign=docs',
404 403 ],
405 404 ],
@@ -405,9 +404,9 @@
405 404 ],
406 405 ],
407 406 'xendit' => [
408 407 'title' => 'Xendit',
409 - 'description' => __( 'Pay for subscriptions securely with Xendit for WooCommerce.', 'subscription' ),
408 + 'description' => 'Pay for subscriptions securely with Xendit for WooCommerce.',
410 409 'icon_url' => SUBSCRPT_ASSETS . '/images/integrations/xendit.png',
411 410 'type' => 'payment_gateway',
412 411 'is_pro' => true,
413 412 'is_beta' => true,
@@ -416,20 +415,20 @@
416 415 'supports_recurring' => true,
417 416 'actions' => [
418 417 [
419 418 'action' => 'install',
420 - 'label' => __( 'Install Now', 'subscription' ),
419 + 'label' => 'Install Now',
421 420 'type' => 'function',
422 421 'function' => "subscrptInstallPlugin(this, 'woo-xendit-virtual-accounts')",
423 422 ],
424 423 [
425 424 'action' => 'settings',
426 - 'label' => __( 'Settings', 'subscription' ),
425 + 'label' => 'Settings',
427 426 'type' => 'link',
428 427 'url' => admin_url( 'admin.php?page=wc-settings&tab=checkout&section=xendit_gateway' ),
429 428 ],
430 429 [
431 - 'label' => __( 'More Details', 'subscription' ),
430 + 'label' => 'More Details',
432 431 'type' => 'external_link',
433 432 'url' => 'https://docs.wpsubscription.co/en/wpsubscription-payment-with-xendit?utm_source=plugin&utm_medium=admin&utm_campaign=docs',
434 433 ],
435 434 ],
@@ -445,9 +444,9 @@
445 444 $third_party = [
446 445 // LMS.
447 446 'tutor_lms' => [
448 447 'title' => 'Tutor LMS',
449 - 'description' => __( 'Restrict course access based on subscription status. Enroll and unenroll students automatically.', 'subscription' ),
448 + 'description' => 'Restrict course access based on subscription status. Enroll and unenroll students automatically.',
450 449 'icon_url' => SUBSCRPT_ASSETS . '/images/integrations/tutor-lms.jpeg',
451 450 'type' => 'third_party',
452 451 'is_pro' => true,
453 452 'category' => 'lms',
@@ -474,9 +473,9 @@
474 473 ],
475 474 ],
476 475 'learnpress' => [
477 476 'title' => 'LearnPress',
478 - 'description' => __( 'Connect subscriptions with LearnPress courses. Enroll users automatically when subscriptions are active.', 'subscription' ),
477 + 'description' => 'Connect subscriptions with LearnPress courses. Enroll users automatically when subscriptions are active.',
479 478 'icon_url' => SUBSCRPT_ASSETS . '/images/integrations/learnpress.png',
480 479 'type' => 'third_party',
481 480 'is_pro' => true,
482 481 'category' => 'lms',
@@ -503,9 +502,9 @@
503 502 ],
504 503 ],
505 504 'learndash' => [
506 505 'title' => 'LearnDash',
507 - 'description' => __( 'Sync subscription status with LearnDash group enrollment and course access.', 'subscription' ),
506 + 'description' => 'Sync subscription status with LearnDash group enrollment and course access.',
508 507 'icon_url' => SUBSCRPT_ASSETS . '/images/integrations/learndash.jpeg',
509 508 'type' => 'third_party',
510 509 'is_pro' => true,
511 510 'category' => 'lms',
@@ -533,9 +532,9 @@
533 532 ],
534 533 // CRM.
535 534 'fluentcrm' => [
536 535 'title' => 'FluentCRM',
537 - 'description' => __( 'Trigger email sequences and manage contacts based on subscription events and status changes.', 'subscription' ),
536 + 'description' => 'Trigger email sequences and manage contacts based on subscription events and status changes.',
538 537 'icon_url' => SUBSCRPT_ASSETS . '/images/integrations/fluentcrm.png',
539 538 'type' => 'third_party',
540 539 'is_pro' => true,
541 540 'category' => 'crm',
@@ -563,9 +562,9 @@
563 562 ],
564 563 // Automation.
565 564 'automatorwp' => [
566 565 'title' => 'AutomatorWP',
567 - 'description' => __( 'Build powerful automations triggered by subscription events without writing any code.', 'subscription' ),
566 + 'description' => 'Build powerful automations triggered by subscription events without writing any code.',
568 567 'icon_url' => SUBSCRPT_ASSETS . '/images/integrations/automatorwp.png',
569 568 'type' => 'third_party',
570 569 'is_pro' => true,
571 570 'category' => 'automation',
@@ -592,9 +591,9 @@
592 591 ],
593 592 ],
594 593 'wpfusion' => [
595 594 'title' => 'WP Fusion',
596 - 'description' => __( 'Sync subscription data with your CRM and marketing platforms through WP Fusion.', 'subscription' ),
595 + 'description' => 'Sync subscription data with your CRM and marketing platforms through WP Fusion.',
597 596 'icon_url' => SUBSCRPT_ASSETS . '/images/integrations/wp-fusion.png',
598 597 'type' => 'third_party',
599 598 'is_pro' => true,
600 599 'category' => 'automation',
@@ -622,9 +621,9 @@
622 621 ],
623 622 // Email Marketing.
624 623 'mailpoet' => [
625 624 'title' => 'MailPoet',
626 - 'description' => __( 'Add subscribers to MailPoet lists and trigger email automations based on subscription lifecycle events.', 'subscription' ),
625 + 'description' => 'Add subscribers to MailPoet lists and trigger email automations based on subscription lifecycle events.',
627 626 'icon_url' => SUBSCRPT_ASSETS . '/images/integrations/mailpoet.png',
628 627 'type' => 'third_party',
629 628 'is_pro' => true,
630 629 'category' => 'email',
@@ -652,9 +651,9 @@
652 651 ],
653 652 // License Management.
654 653 'wp_soft_lic' => [
655 654 'title' => 'WP Software License',
656 - 'description' => __( 'Issue and validate software licenses for subscription-based digital products.', 'subscription' ),
655 + 'description' => 'Issue and validate software licenses for subscription-based digital products.',
657 656 'icon_url' => SUBSCRPT_ASSETS . '/images/integrations/wp-software-license.png',
658 657 'type' => 'third_party',
659 658 'is_pro' => true,
660 659 'category' => 'license',
@@ -681,9 +680,9 @@
681 680 ],
682 681 ],
683 682 'license_mgr' => [
684 683 'title' => 'License Manager for WooCommerce',
685 - 'description' => __( 'Generate and manage software license keys that are automatically tied to active subscriptions.', 'subscription' ),
684 + 'description' => 'Generate and manage software license keys that are automatically tied to active subscriptions.',
686 685 'icon_url' => SUBSCRPT_ASSETS . '/images/integrations/license-manager.png',
687 686 'type' => 'third_party',
688 687 'is_pro' => true,
689 688 'category' => 'license',