I have created my own payment method by taking reference of another method. I wannt to store my payment gateway's transaction id to order payment details (sales/order\_payment) on successful payment action.

How can I store transaction id to this table ?