Declined Credit Cards

Solved
SDock
Tourist
6 0 2

Is there a way for me to get a list of attempted orders that were abandoned due to credit card decline. 

Accepted Solution (1)
Luke_K
Shopify Staff
Shopify Staff
402 66 95

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!

| Shopify |
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!

View solution in original post

Reply 1 (1)
Luke_K
Shopify Staff
Shopify Staff
402 66 95

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!

| Shopify |
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!