Import Customer Records from Shopify to Stripe
Import Customer Records from Shopify to Stripe
Use this recipe to import customer records from Shopify to Stripe.
Note: This recipe is available as Shopify — Stripe | Import Customer Records in the Integration Store. Oracle provides this recipe as a sample only. The recipe is meant only for guidance, and is not warranted to be error-free. No support is provided for this recipe.
Overview
This is an application-driven recipe that creates a corresponding customer record in Stripe whenever a customer record is created in Shopify.
To use the recipe, you must install the recipe package and configure the connections and other resources within the package. When a customer record is created in the Shopify instance, the integration flow of the recipe is triggered, and it creates a corresponding record in Stripe. Basic data, such as customer name, city, state, postal code, country, email, and phone, are synchronized between the two platforms.
System and Access Requirements
Oracle Integration, Version 21.4.3.0.0 or higher
Shopify
An account on Shopify with the Administrator role
Stripe
An account on Stripe with the Administrator role
Before You Install the Recipe
You must perform the following configuration tasks on your Shopify and Stripe instances in order to successfully connect to these external systems using Oracle Integration and transfer customer records between them.
Configure Shopify
To configure Shopify, see Prerequisites for Creating a Connection.
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:
Log in to your Stripe instance as an administrator.
In the left navigation pane, click Developers, then API keys.
The API keys page is displayed with all the keys associated with your account.In the Standard keys section, click Reveal test key in the Secret key row.
Note the secret key.
Install and Configure the Recipe
On your Oracle Integration instance, install the recipe package to deploy and configure the integration and associated resources.
On the Oracle Integration Home page, in the Pick a Recipe/Accelerator section, click View All.
Find the recipe you want to install.
Hover over the recipe, then click Install
.
A message confirms that the recipe was successfully installed, and the recipe card shows INSTALLED.Hover over the recipe again, and click Configure
to configure the resources of the recipe.
The Configuration Editor opens, displaying all the resources of the recipe. Configure the following resources before you activate and run the recipe.
Configure the Oracle Shopify Connection
In the Configuration Editor, under Connections, hover over the Oracle Shopify Connection, then click Edit
The connection configuration page appears.In the Properties section, enter the following details.
Field Information to Enter Host Name Enter the Shopify host name. The Shopify host name appears in the Shopify home URL. For example: https://hostname.myshopify.com
.Shopify REST API Version Enter the REST API version. In the Security section, enter the following details.
Field Information to Enter Security Policy Leave Shopify Security Policy selected. Username Enter the API key obtained earlier. See Configure Shopify. Password Enter the password obtained earlier. Shared secret Enter the shared secret obtained earlier. Click Save. If prompted, click Save for a second time.
Click Test to ensure that your connection is successfully configured. In the resulting dialog, click Test again.
A confirmation message is displayed if your test is successful.Click Go back
to return to the Configuration Editor. Click Save again if prompted.
Configure the Oracle REST Stripe Connection
In the Configuration Editor, under Connections, hover over the Oracle REST Stripe Connection, then click Edit
The connection configuration page appears.In the Properties section, enter the following details.
Field Information to Enter Connection Type Leave REST API Base URL selected. Connection URL Enter the following URL: https://api.stripe.com/
.In the Security section, enter the following details.
Field Information to Enter Security Policy Leave API Key Based Authentication selected. API Key Enter the API key associated with your Stripe account. See Obtain Stripe API Keys. Click Save. If prompted, click Save for a second time.
Click Test to ensure that your connection is successfully configured.
A confirmation message is displayed if your test is successful.Click Go back
to return to the Configuration Editor. Click Save again if prompted.
Activate and Run the Recipe
After you’ve configured the connections, activate the recipe package and run it.
In the Configuration Editor, click Activate in the title bar. In the Activate Package dialog, click Activate again.
A confirmation message is displayed informing that the integration has been submitted for activation. Refresh the page to view the updated status of the integration.Run the recipe.
To run the recipe, you must create a customer record in Shopify.Log in to the Shopify instance.
On the left navigation pane, click Customers.
In the Customers window, click Add Customer.
Enter the following details, and click Save.
First Name, Last Name, Email, Phone, and Address.
Select the Collect Tax check box if the customer is not tax exempted.
Add additional notes if necessary.
You’ve now triggered the recipe.
Monitor the execution of the recipe’s integration flow in Oracle Integration.
In the Configuration Editor, click Activation to view the integrations in the recipe.
Hover over the integration to monitor, click Actions
and select Run, then click Track Instances.
On the Track Instances page, you’ll see the integration flow of the recipe being triggered and executing successfully. The recipe now creates a corresponding customer record in Stripe.
Log in to your Stripe instance and check for the new customer record created.
On the Stripe instance, click the Customers tab. The list of customers is displayed, which contains the corresponding customer record for the record created in Shopify.
Related Documentation
Import Customer Records from Shopify to Stripe
F60948-01
August 2022
Copyright © 2022, Oracle and/or its affiliates.
Primary Author: Oracle Corporation