Hi all,
I have a question regarding to fees in Order Transaction API https://shopify.dev/api/admin-graphql/2022-07/objects/OrderTransaction#field-ordertransaction-fees - what is the delay to see fee’s details after order placed? Can I get details for all kinds of fees in API exactly right after order placed? If not, what is the time gap?
Thank you in advance!
What payment gateway are you using? And are you automatically capturing the payment when the order is created, or leaving it in an authorized state and capturing it later?
Hi, @RalfatGadget
Shopify payment. Whould be nice to know delay for both variants: capturing by the time an order placed and when it’s in authorize status. I’m interesting in at what exacltly time Shopify put info in OrderTransaction.fees object. How soon we as a third-party external system can see this info in API.
I originally misunderstood your question, for whatever reason I read that you’ve seen the fee change.
A transaction record should appear in the Transactions API pretty much immediately after the order has been placed, because the transaction is required for an order to be created. If you have separate auth+capture you’d first see an auth transaction, and then a capture whenever that happens.
And if I recall correctly, the entries in the Transactions API are immutable – meaning they won’t change. So the fee should be there when the record is created.
The reason I asked about auth vs capture is that I don’t know if the fee can change between auth or capture. Technically, the interchange fee can be higher for a capture that happens beyond a certain time limit (e.g. 2 days) after the auth. But I’m not sure if Shopify passes that on.