Order summary conditional to payment method

Hi there!

I would like to add a custom thank you note in the order summary, depending on the selected payment method (primarily to remind customers to check the email for payment details if deferred payment is selected).

I found that this is possible if I override order, section=“content-header”, but to check which payment method within this code, I think I need some Vue variable for payment method (so I can put v-if…).

Can you just write back am I right and is there a such variable? (I think in general some list of variables used would be helpful for easier customization.)