A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
I've received an urgent change notification saying that our "apps are omitting the 'authorization' or 'parent_id' parameters when capturing transactions".
Our app needs to mark order as Paid and does this by creating a "capture" transaction.The documentation is clear for capturing orders with authorization.
However, it is not clear how should we process when the order does not have a transaction with "authorization".What should we do with orders with a "Sale" transaction?
The docs say that "For capture transactions, the parent needs to be an authorization transaction".If we use the parent_id for a Sale transaction the transaction save fails.
For orders with Sale transaction we can create a "capture" transaction only if the parent_id is omitted, therefore we cannot implement the required change for all orders.
Can anyone clarify id this "urgent action" applies to orders with Sale transaction too?
The Sale indicator is meant to be used on a transaction in with the authorization and capture are made in the same step. You should not have to capture an order if the transaction is marked as Sale.
To learn more visit the Shopify Help Center or the Community Blog.
Then how do I mark as paid an order with a Sale transaction?
I've seen this kind or orders when a manual payment method is used.