payment\PaymentGateway_MerchantHosted
Parent class for all merchant-hosted gateways
Synopsis
class PaymentGateway_MerchantHosted
extends PaymentGateway
{
- // Inherited members from PaymentGateway
- public String $gatewayURL;
- protected array $supportedCardTypes;
- protected array $supportedCurrencies;
- protected Array $config;
- // Inherited methods from PaymentGateway
- public static void get_environment()
- public ValidationResult getValidationResult()
- public Array getConfig()
- public Array getSupportedCardTypes()
- public Array getSupportedCurrencies()
- public ValidationResult validate()
- public PaymentGateway_Result process()
Hierarchy
Extends
Members
protected
- $config
—
payment\Array
Array of config for this gateway -
$supportedCardTypes
Supported credit card types for this gateway -
$supportedCurrencies
Supported currencies for this gateway
public
- $gatewayURL
—
payment\String
The gateway url TODO: Can this just be moved to PaymentGateway_GatewayHosted?
Methods
Inherited from payment\PaymentGateway
public
- getConfig() — Get the YAML config for current environment
- getSupportedCardTypes() — Get the list of credit card types supported by this gateway
- getSupportedCurrencies() — Get the list of currencies supported by this gateway
- getValidationResult() — Get validation result for this gateway
- get_environment() — Get the payment environment.
- process() — Send a request to the gateway to process the payment.
- validate() — Validate the payment data against the gateway-specific requirements