# subscription/1.5.1/assets/js/integration_settings.js

Subscriptions for WooCommerce with Stripe Recurring Payments, version 1.5.1. 20 lines.

- Page: https://pluginprobe.com/plugins/subscription/1.5.1/code/assets/js/integration_settings.js
- Raw: https://pluginprobe.com/plugins/subscription/1.5.1/raw/assets/js/integration_settings.js
- Modified: 2025-07-08T17:04:52+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/subscription/1.5.1/code/assets/js/integration_settings.js#L10-L20`.

```javascript
function wpSubsInstallPaypalIntegration() {
  jQuery
    .post(wpSubsIntegrations.ajax_url, {
      action_callback: "wp_subs_install_paypal_integration",
      nonce: wpSubsIntegrations.nonce,
    })
    .done(function (response) {
      console.log(response);

      if (response.success) {
        console.log("Option updated:", response.data);
      } else {
        console.error("Failed to update:", response.data);
      }
    })
    .fail(function () {
      console.error("AJAX request failed");
    });
}

```
