Test your Stripe integration
Test our Stripe integration by pulling sample data to a test company
You can use the Stripe Test integration to pull test data from Stripe to Codat.
Stripe lets you test accounts using test API keys and test data, such as bank account numbers, card numbers, and so on.
Prerequisites
Set up the Stripe Test integration by following the tasks in Set up your Stripe integration.
Add a test company
In the Codat Portal:
- Select Companies > New company.
- In the Add new company dialog, enter a name for your test company, like
stripe-test
, then click Add. The Link URL is displayed in the dialog.
Create a Stripe testing account, add test data, and access credentials
Sign in to the Stripe Developers Dashboard.
Within your Stripe profile, create a new account for testing. The account will be created in test mode and can't be switched to live mode without activation.
- Select the account menu at the top left.
- Select New account.
- Enter a name for your testing account, then click Create account.
Add some compatible test data to your account; for example Customers, Products, Disputes, and Payments.
Complete steps 1-6 in Register as a Stripe Connect platform to gain access to your test credentials for the new account.
Connect your test company to your Stripe testing account
Test the authorization process that your customers will see when they connect their Stripe account in Link.
In the Codat Portal:
- Select Companies.
- Hover over your test company, then click Request data. The Onboarding dialog is displayed.
- Copy the Link URL then paste it to a new browser tab to load the Link site.
- Complete the steps in Link; the exact steps shown depend on your Link settings. You'll need to:
- Select Stripe Test as the commerce software to connect to.
- Sign in to your Stripe account if prompted.
- On the Select the account you'd like to connect to page, select your testing Stripe account. You can't use your main Stripe account for testing purposes.
- Click Skip this form. The Connection Successful page in Link is displayed.
- Complete the Link flow.
A new Standard connected account is created and is visible on the Connect page in Stripe.
Retrieve test commerce data
Test the integration by pulling some test commerce data from Stripe to Codat.
In the Codat Portal:
- Select Companies, then select your test company.
- Click Refresh data.
- Select Data > Commerce.
- Use the Data type dropdown to view test data from your Stripe testing account. For example, select Products or Transactions.
Data is only available for supported commerce data types for which test data exists.