Additional Charges in Payment

Question: A Sales Invoice is created for value USD 177 which was values as: * Where item's base price is USD 143 * Additional transportation expense is USD 34

When customer makes payment via payment gateway, they deduct (say) USD 7 as a service charge. How do I create a Payment Entry which update Sales Invoice as 100% paid, and also allows booking of payment gateway expense?

Answer: Here is the help on how to adjust additional charges in the Payment Entry, yet have Sales Invoice paid completely. Please refer to GIF below for the exact steps.