This guide walks you through configuring a two-way integration with Stripe. By setting up the Stripe integration, you can configure a Stripe webhook to process payments through your Stripe account from multiple sources, such as websites or other third-party platforms that support Stripe as a payment gateway.
Prerequisites to setup webhook
You must:
Confirm the Power Automate flow PowerWorker Engage: Inbound Stripe Poll is On.
Review Stripe Connection limits.
Have a Secret API Key from Stripe.
Create Stripe Connection
Create a Stripe Connection by following these steps:
Open https://make.powerapps.com/.
.png)
Go to solutions.
.png)
Select Default Solution.
.png)
Within the solution, under objects, find and select the connection reference Stripe PowerWorker Engage-f8b19.
.png)
A pane will appear to the right where you can create a new connection or choose from an existing connection.
.png)
When creating a connection, a new tab will appear. Search Stripe in the list of connections.
.png)
Enter the Secret Key from your Stripe account into the API Key field and then select create.
.png)
Go back to your tab that has the Stripe Connection Refresh and press refresh on the right pane. Your new connection will appear.
.png)
Choose your new connection and select Save.
.png)
You will be asked to Save the changes. Select the Save Changes button.
.png)
Congratulations! Your two-way Stripe integration is now configured. Any transactions coming into Stripe will now flow into PowerWorker Engage.
Connecting Campaigns to Stripe
Stripe uses metadata to store additional details about a transaction. PowerWorker Engage is configured to look for a key-value pair with the key "campaignid". When creating a transaction within Stripe or using Stripe Checkout, include this key-value pair in the metadata of the object. Set the key to "campaignid" and the value to the corresponding Campaign Code from Power Worker Engage in the object creation request. The Campaign Code can be found in the Campaign record within the Campaign Code field on the Campaign form.