Question

Stripe: Unexpected test data for Checkout Session Completed trigger

  • 27 November 2023
  • 4 replies
  • 77 views

Userlevel 1
Badge

The Stripe trigger for Checkout Session Completed should, in my mind, only include `CheckoutSession` objects where the `status` is complete. Currently trying to update a Zap with this trigger, and all the test records have a `status` of open and a `payment_status` of unpaid. Maybe a bug? 🤔

Setup is kinda impossible, since none of the test records have the right fields populated (as they’re all incomplete). TIA for any help you can offer, here!

 

 


4 replies

Userlevel 7
Badge +14

Hi @cdwyer 

Good question.

I can confirm I’ve seen the same results when testing.

Try completing a successful checkout sessions, then click the button to [Find new records].

Also, you can submit feedback/feature request to Zapier Support to be logged: https://zapier.com/app/get-help

Userlevel 7
Badge +6

Hi there @cdwyer,

I’m jumping in to see if I can help!

Looking at the API documentation of Stripe the “status” data also includes “open”. Maybe Stripe includes Pending or Incomplete Sessions as well.

https://stripe.com/docs/api/checkout/sessions/retrieve

d5d741866f9a36ac7acea9364a372da9.png
(view larger)

Hopefully, this helps.

Userlevel 1
Badge

Hi there @cdwyer,

I’m jumping in to see if I can help!

Looking at the API documentation of Stripe the “status” data also includes “open”. Maybe Stripe includes Pending or Incomplete Sessions as well.

https://stripe.com/docs/api/checkout/sessions/retrieve

d5d741866f9a36ac7acea9364a372da9.png
(view larger)

Hopefully, this helps.

Yep, that’s correct! But by definition, I would have expected the Checkout Session Completed trigger to automatically ignore/filter out Open, Incomplete, etc. sessions from the test data. Not a huge deal, just felt like a bug or small oversight.

Userlevel 7
Badge +6

Hi @cdwyer,

I completely agree that the Checkout Session Completed trigger should not include incomplete sessions or have an option to not include them.

I’d recommend reaching out to our Support Team to create a feature request on your behalf. You can reach our Support Team here: https://zapier.com/app/get-help

In the meantime, you might be able to filter out those incomplete sessions by adding a filter step to your Zap. You can learn more about Filter by Zapier here: https://help.zapier.com/hc/en-us/articles/8496276332557-Add-conditions-to-Zaps-with-filters

Hopefully, this helps! 

 

Reply