Before You Install the Recipe

You must perform the following configuration tasks on your Stripe instance and Oracle NetSuite instance in order to successfully connect to these external systems using Oracle Integration and transfer customer records between them.

  1. Obtain Stripe API Keys
  2. Configure NetSuite

Obtain Stripe API Keys

To access the Stripe instance from Oracle Integration, you'll require the API key associated with your Stripe account.

To obtain your Stripe account's API key:

  1. Log in to your Stripe instance as an administrator.
  2. In the left navigation pane, click Developers, then API keys.
    The API keys page is displayed with all the keys associated with your account.
  3. In the Standard keys section, click Reveal test key in the Secret key row.
  4. Note down the secret key.

Configure NetSuite

To access NetSuite using Oracle Integration and create service items, you must perform certain configuration tasks on your NetSuite instance.

To successfully connect to NetSuite, you must perform certain general configurations on your NetSuite instance and some configurations specific to the security policy you'll use to connect. In this recipe, you'll use the token-based authentication (TBA) security policy.

In addition, you must create custom fields for service-item records in NetSuite.

Log in to your NetSuite instance as an Administrator and execute the following tasks.

  1. Perform the general configurations necessary to connect to NetSuite. See Enable Features on Oracle NetSuite and Assemble the Oracle NetSuite WSDL URL.
  2. Perform the TBA-related configuration tasks. See Prerequisites for the Token-Based Authentication Security Policy.

    Grant the following permissions to the role you'll create in this step.

    Tab Name Permission Level

    Lists

    Currency

    Full

    Lists

    Subsidiaries

    Full

    Lists

    Items

    Full

    Lists

    Tax Schedules

    Full

    Setup

    SOAP Web Services

    Full

    Setup

    User Access Tokens

    Full

    Setup

    Log in using Access Tokens

    Full

  3. Create a custom service-item field for the Stripe plan ID.
    This recipe uses unique IDs associated with subscription-plan records in Stripe to synchronize them with service items in Oracle NetSuite. Create a custom item field for NetSuite service items to hold the Stripe IDs.
    1. On the NetSuite home page, select Customization, then Lists, Records, & Fields, then Item Fields, and then New.
    2. On the Custom Item Field page:
      1. In the LABEL field, enter Stripe Plan Id.
      2. In the ID field, enter _oracle_stripe_plan_id.

        The ID you enter is prefixed by custitem to make the field ID. The recipe uses this field ID while synchronizing plans and service items.

      3. In the Applies To tab, select the SERVICE check box.
      4. Click Save to create the new item field.
  4. Optionally, create a custom service-item field to hold messages related to importing of a subscription-plan record.
    1. On the Custom Item Fields page, click New.
    2. On the resulting page:
      1. In the LABEL field, enter a label for the field, for example, Stripe Plan Message.
      2. In the ID field, enter _oracle_stripe_plan_message.

        The ID you enter is prefixed by custitem to make the field ID.

      3. In the Applies To tab, select the SERVICE check box.
      4. Click Save to create the new item field.
  5. Optionally, create a custom service-item field to hold the status information related to importing of a subscription-plan record.
    1. On the Custom Item Fields page, click New.
    2. On the resulting page:
      1. In the LABEL field, enter a label for the field, for example, Stripe Plan Status.
      2. In the ID field, enter _oracle_stripe_plan_status.

        The ID you enter is prefixed by custitem to make the field ID.

      3. In the Applies To tab, select the SERVICE check box.
      4. Click Save to create the new item field.