Hi,
I'm looking for a way to get the list of pending purchases, i.e. the purchases made when the "Ask to buy" feature is enabled and which have yet to be approved.
I need this in order to update the UI of my store and disable the possibility to buy products when they are pending for approval.
I tried to look into Transaction.all
but pending transactions seems to be missing.
How can we get the list of pending purchases?
Thank you