How does an online credit card payment work?

(Payment)