{payment_action:transaction_id} is the correct merge tag.
Which event is the notification assigned to? The event setting can be found on the notification configuration page.
The payment_action merge tags won’t work with the default form is submitted event, the notification must be assigned to an event added by a payment add-on, such as payment completed.