When you make an online payment, you only pay for the product charges plus the shipping charges.   You can collect the final amount (product charges+shipping charges+your margin) directly from your customer.   Therefore, in the case of online payments, you receive your margin directly from your customer.