In BC, search for Posted Sales Invoices. Select the invoice that has just been posted and select the Actions / Invoice / Payment Gateway Log action.
There is a filtered view of the Payment Gateway Log.
The Payment Gateway Log confirms the payment was taken against Sales Order and that is has a Customer Ledger Entry No. Selecting Cust. Ledger Entry action the Ledger Entry opens.