Reorder payments depending on market | Directives are not allowed in input queries

Hey

we want to reorder our payments with the Payments Function depending on the market. Normally I would add the directive “@inContext” but by doing so i get an error “Directives are not allowed in input queries”.

Is there another possible solution to reorder the Payments depending on the market or is this directive a missing feature which will be implemented soon?

Already solved it. We will save the market payment information in the metafield