#surgical-Checkout
1 messages · Page 1 of 1 (latest)
Hi there, can you elaborate your use case? why do you want to confirm a paymentIntent created by Checkout?
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
So you want to automatic the test with Stripe Checkout?
yeah
we use stripe checkout on our ticketing application. but i can't automate this part that competes the order
👋 jumping in for Jack
Do you mean you can't automate the Checkout confirmation logic that is normally done by customer via browser?
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
You cannot perform this action on PaymentIntents created by Checkout
This error makes sense to me tho. Let me find if there is workaround
yes it def makes sense haha.
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