App::Services::PaymentProvider
Inherits Reference < Object
Instance methods
Charge a payment method for the given invoice.
token is provider-specific (e.g. card token, payment method ID).
Returns the provider's charge/payment reference ID.
Create a customer record on the provider side. Returns the provider's customer ID for future charges.
Refund a previously captured payment. Returns true if the refund was accepted by the provider.