OP 29 March, 2024 - 02:28 PM
(This post was last modified: 29 March, 2024 - 02:46 PM by Fragrances.)
I am writing a python script using selenium that automates a purchase. the checkout that i am using uses the shopify api to process payments. obviously, it returns either success or an error - for example, a card being declined or there not being enough balance. how do i capture these errors? thank you!
This is a bump
This is a bump
![[Image: upscaled-a.gif]](https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fi.postimg.cc%2FSsz0Fv2B%2Fupscaled-a.gif)
![[Image: upscaled-b.gif]](https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fi.postimg.cc%2Fj2zGCnhv%2Fupscaled-b.gif)
![[Image: upscaled-c.gif]](https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fi.postimg.cc%2FY0c5pzQh%2Fupscaled-c.gif)