Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Declined Credit Cards

Solved

Declined Credit Cards

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
402 66 102

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
402 66 102

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!