Install and Configure the Recipe

On your Oracle Integration instance, install the recipe package to deploy and configure the integration and associated resources.

  1. On the Oracle Integration Home page, scroll to the Accelerators & Recipes section.
  2. Click Search All.
    The list of available recipes appears.
  3. Select the PayPal — FTP | Export Invoices recipe , and click Install Install icon..
    A confirmation message informing the recipe was successfully installed appears, and the recipe now displays the Installed tag.
  4. Click Configure Configure icon on the recipe card to configure the following resources using the Configuration Editor.

Configure the Oracle PayPal Connection

You must configure connection properties and log in credentials for your PayPal instance.

  1. On the Configuration Editor page, select Oracle PayPal Connection.
  2. Click Edit Edit icon.
    The PayPal Connection window appears.
  3. In the Connection Properties section, from the PayPal Environment drop-down list, select the environment (Sandbox).
  4. In the Security section, from the Security Policy drop-down list, select Client Credentials.
  5. In the Client Id and Client Secret fields, enter the Client ID and Secret that you obtained before.
  6. Click Save. If prompted, click Save for a second time to confirm.
  7. Click Test to ensure that your connection is successfully configured. In the dialog that displays, click Test again.
    You get a confirmation message if your test is successful.
  8. Click Back Go back iconto return to the Configuration Editor page. Click Save again if prompted.

Configure the Oracle FTP Read Write Connection

You must configure connection details such as connection properties and log in credentials for your FTP server.

  1. On the Configuration Editor page, select Oracle FTP Read Write Connection.
  2. Click Edit Edit icon.
    The FTP Connection window appears.
  3. In the Connection Properties section, enter the following details.
    Field Information to Enter
    FTP Server Host Address Enter the host address of your sFTP server.
    FTP Server Port 22
    SFTP Connection Select Yes from the list.
  4. In the Security section, enter the following details.
    Field Information to Enter
    Security Policy Select FTP Server Access Policy.
    User Name Enter the user name to connect to your sFTP server.
    Password Enter the password to connect to your sFTP server.
  5. Click Save. If prompted, click Save for a second time to confirm.
  6. Click Test to ensure that your connection is successfully configured. In the dialog that displays, click Test again.
    You get a confirmation message if your test is successful.
  7. Click Back Go back icon to return to the Configuration Editor page. Click Save again if prompted.

Configure the Oracle REST PayPal Connection

You must configure connection details such as connection properties and log in credentials for your REST PayPal connection.

  1. In the Configuration Editor, select Oracle REST PayPal Connection.
  2. Click Edit Edit icon.
    The REST Connection window appears.
  3. From the Connection Type drop-down list, select REST API Base URL.
  4. In the Connection URL field, enter the endpoint URL of your PayPal instance. For example: https://api-sample.sandbox.paypal.com/.
  5. In the Security section, from the Security Policy drop-down list, select Basic Authentication.
  6. In the Username field enter the Client ID, and in the Password field enter the Client Secret that you obtained before.
  7. Click Save. If prompted, click Save for a second time to confirm.
  8. Click Test to ensure that your connection is successfully configured. In the dialog that displays, click Test again.
    You get a confirmation message if your test is successful.
  9. Click Back Go back iconto return to the Configuration Editor page. Click Save again if prompted.

Configure Lookups

Configure lookups to associate values used by one application (PayPal) to values used by the other application (FTP).

  1. On the Configuration Editor page, select the ORACLE-BRT-PP2FTP_ASSETS lookup.
  2. Click Edit Edit icon.
    The Lookup window appears.
  3. In the Lookup table, specify values for FTP_DIR, invPrefix, and pageSize.
    config_name config_value
    FTP_DIR The directory path where the invoice files will be uploaded in the FTP server. For example /oracle-int/paypal-invoices.
    invPrefix Prefix of the invoice files. For example, if the file name is detail_INV-NOV2020.JSON then the prefix is detail_.
    pageSize Number of files that are to be fetched per call from PayPal. For example 1.
  4. Click Save and then click Back Go back icon to return to the Configuration Editor page.