How is a payment method's acceptPayment() used?

See also: