Invoice is paid automation

Question:
When is this automation triggered?

Product:
Wix Studio

What are you trying to achieve:
I want to take the invoices when it is saved and save it on my backend!

What have you already tried:
I tried test buys but the automation is never triggered!

Additional information:
For questions ask me please