Adding Payment Methods
Adding Payment Methods
- public function canCreatePaymentMethods()
- public function translateCreatePaymentMethodErrorCode($error_code)
- public function getCreatePaymentMethodErrorMessage($error_code) — See https://stripe.com/docs/api#errors for more information on possible errors.
- public function validateCreatePaymentMethodToken($token)
- public function createPaymentMethodFromRequest($request, $method, $token)
- public function renderCreatePaymentMethodForm($request, $errors)
Other Methods
Other Methods
- public function setProviderConfig($provider_config)
- public function getProviderConfig()
- public function getName()
- public function getConfigureName()
- public function getConfigureDescription()
- public function getConfigureInstructions()
- public function getConfigureProvidesDescription()
- public function getAllConfigurableProperties()
- public function getAllConfigurableSecretProperties()
- public function readEditFormValuesFromProviderConfig() — Read a dictionary of properties from the provider's configuration for use when editing the provider.
- public function readEditFormValuesFromRequest($request) — Read a dictionary of properties from a request for use when editing the provider.
- public function processEditForm($request, $values)
- public function extendEditForm($request, $form, $values, $issues)
- protected function renderConfigurationSecret($value)
- public function isConfigurationSecret($value)
- public function canRunConfigurationTest()
- public function runConfigurationTest()
- public static function getAllProviders()
- public function isEnabled()
- public function isAcceptingLivePayments()
- public function getPaymentMethodDescription()
- public function getPaymentMethodIcon()
- public function getPaymentMethodProviderDescription()
- final public function applyCharge($payment_method, $charge)
- final public function refundCharge($charge, $refund)
- protected function executeCharge($method, $charge)
- protected function executeRefund($charge, $refund)
- public function updateCharge($charge)
- public function getDefaultPaymentMethodDisplayName($method)
- public function canProcessOneTimePayments()
- public function renderOneTimePaymentButton($account, $cart, $user)
- final public function getControllerURI($action, $params, $local)
- public function canRespondToControllerAction($action)
- public function processControllerRequest($controller, $request)
- private function getPublishableKey()
- private function getSecretKey()
- private function getStripeShortErrorCode($error_code)
- private function loadStripeAPILibraries()
- private function newDisplayExceptionFromCardError($ex)