GraphQL: orders fullyPaid:true returns orders pending payment

MozzoERP
Shopify Partner
64 3 8

Posting a graph order query with the fullyPaid:true filter that is returning orders in a payment pending status.

Also the "unpaid" return value is false, which I'd assume should be true, since it is pending.

Is this a bug or a misnomer on the terminology?

But graph includes incorrectlyBut graph includes incorrectlyPending Payment statusPending Payment status

Chad Richardson
Mozzo Software - Modular Software that grows with you from solopreneur to a 200 person mega team. Why keep outgrowing your Shopify Apps? Start with us, and just use the modules you need, then add more as you grow. http://MozzoERP.com
0 Likes
MozzoERP
Shopify Partner
64 3 8

Ah, so my filter was incorrect. (The docs aren't very clear on filter parameters)

 

The filter should be: query: "fulfillment_status:unfulfilled AND financial_status:paid", then it correctly doesn't return the unpaid orders.

 

However, there still is a bug based on my understanding of the "unpaid" property. It still has unpaid:false for orders that show unpaid in the UI and the transactions support that in that it's status is "pending".

 

The definition of unpaid per the docs is:

"Whether no payments have been made for the order. If no payments have been made for the order, then this returns true."

This order has a pending sale transaction...does the existence of a pending mean that a payment has been made???

graphql-2.PNG

Chad Richardson
Mozzo Software - Modular Software that grows with you from solopreneur to a 200 person mega team. Why keep outgrowing your Shopify Apps? Start with us, and just use the modules you need, then add more as you grow. http://MozzoERP.com
0 Likes
thiag73
New Member
1 0 0

Hi there !

 

Do you have any updates on this ?

One year later the unpaid property seem to still return false even for orders with pending payment...

0 Likes