Development discussions around Shopify APIs
Is there a way for me to get a list of attempted orders that were abandoned due to credit card decline.
Solved! Go to the solution
This is an accepted solution.
Hey @SDock
So in the event of an abandonment due to a credit card decline (and order isn't created) the object would indeed just be an Abandoned Checkout (as opposed to a fully completed order).
You could poll the checkout token using the payments.json endpoint - you'd be able to retrieve a list of attempted payments on a checkout.
That said, the payments endpoint is used primarily by sales channels - and allows sales channels to build a fully native checkout experience by submitting a customer's payment details directly to Shopify. You'd need to request payment processing to be able to call the endpoint (more docs on that and the requirements for building a Sales Channel are here). Hope that helps!
This is an accepted solution.
Hey @SDock
So in the event of an abandonment due to a credit card decline (and order isn't created) the object would indeed just be an Abandoned Checkout (as opposed to a fully completed order).
You could poll the checkout token using the payments.json endpoint - you'd be able to retrieve a list of attempted payments on a checkout.
That said, the payments endpoint is used primarily by sales channels - and allows sales channels to build a fully native checkout experience by submitting a customer's payment details directly to Shopify. You'd need to request payment processing to be able to call the endpoint (more docs on that and the requirements for building a Sales Channel are here). Hope that helps!
User | RANK |
---|---|
12 | |
7 | |
5 | |
5 | |
5 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022