#surgical-Checkout

1 messages · Page 1 of 1 (latest)

dusty tinsel
#

Hi there, can you elaborate your use case? why do you want to confirm a paymentIntent created by Checkout?

halcyon plover
#

I'm trying to load test a bunch of checkouts. I have part of the code that checks if a payment intent's status is succeeded but since I can't complete the order via code, I'm having some difficulty continuing

dusty tinsel
#

So you want to automatic the test with Stripe Checkout?

halcyon plover
#

yeah

#

we use stripe checkout on our ticketing application. but i can't automate this part that competes the order

stoic grail
#

👋 jumping in for Jack

#

Do you mean you can't automate the Checkout confirmation logic that is normally done by customer via browser?

halcyon plover
#

we store certain info in our database like the intent's charge info, address, etc

#

yes @stoic grail . I need to simulate X purchases a second in our application and the work thats's done after a payment intent is succeeded

stoic grail
#
You cannot perform this action on PaymentIntents created by Checkout

This error makes sense to me tho. Let me find if there is workaround

halcyon plover
#

yes it def makes sense haha.

stoic grail
#

Sorry there isn't seem to be a workaround

#

I would say Stripe Checkout is a blackbox provided and battle tested by Stripe, so you don't need to test its flow

#

You can go further by using some browser testing tool (like Selenium) tho, but there is no API way to simulate Checkout, because by nature it's a product designed for low-code/no-code