(payment, plugin, **kwargs)
| 11 | |
| 12 | @plugin.hook('invoice_payment') |
| 13 | def on_payment(payment, plugin, **kwargs): |
| 14 | # Block until file appears |
| 15 | while not os.path.exists("unhold"): |
| 16 | time.sleep(0.25) |
| 17 | return {'result': 'continue'} |
| 18 | |
| 19 | |
| 20 | plugin.run() |
nothing calls this directly
no outgoing calls
no test coverage detected