Sales Webhook
Now it's time to set up webhooks on your Stripe dashboard. These webhooks will let your application know a payment has been processed and a series of actions will happen on your application's backend.
Follow these instructions to setup the webhooks on your application and Stripe dashboard:
Go to the Backend Workflows section of your Direxact installation.
On the left side, select the Stripe Connect folder.
Click the stripe-connect-sale workflow.
Click on the Detect Data button.
Click on the URL provided on the popup to copy.
Now, head to your Stripe account dashboard. Once you're on the Stripe dashboard, let's setup the webhooks we need to make sure we can capture all the payment data we need.
Click on the Developers button on the header.
While on the Developers dashboard, click on the Webhooks button.
Click Add an Endpoint
Now that you are in the webhook configuration window, it's time to setup the webhook.
Add the URL you copied from the backend workflow into the Endpoint URL input.
Add a description that will help oyu remember what the webhook accomplished.
Since you're collection the transaction on behalf of an store owner, select the Events on connected accounts option.
Click the Select Events button to select the event to send in the webhook.
Select the checkout.session.completed event and click the Add events button.
Last updated