Learn how the Order Import component creates commercetools Orders from completed Stripe checkout sessions.
The Order Import component in the Stripe Agentic Commerce Suite ensures that completed checkout sessions from Stripe are imported into your commercetools Project as Orders.
Event source and trigger
v2.delegated_commerce.received_checkout_session.completed.To import orders, provide the following values:
- The Stripe webhook endpoint ID.
- The webhook signing secret.
v2.delegated_commerce.received_checkout_session.completed event.Data extraction and mapping summary
When a checkout session is completed in Stripe, Stripe sends a webhook event to the configured endpoint. The Order Import component validates the event data and creates corresponding Order resources in your commercetools Project.
Orders imported from Stripe contain links to Payment resources that reference authorized payment details. You can use the interaction ID in the Payment resource for capture, refund, or cancel operations in Stripe.
Technical constraints
The component validates incoming Stripe webhook events before creating resources in commercetools.