How to get Paypal Payment Pro transaction id in order comment history?
I'm using Paypal Payment Pro in Magento 2.4.2. I need to show PayPal transaction id in order comment history. Right now its shows Captured amount of $XX.00 online. Transaction ID: "BSDSDw21E43S". This is Payflow reference transaction ID (Payflow PNREF) But we need Paypal transaction ID(PayPal PPREF)
This problem only for the Paypal Payment Pro credit card option, not Paypal express checkout.