Page MenuHomeIsabelle/Phabricator
Diviner Phabricator Tech Docs PhortunePaymentProvider

abstract class PhortunePaymentProvider
Phabricator Technical Documentation (Phortune)

This class is not documented.

Tasks

Adding Payment Methods

Other Methods

Methods

public function setProviderConfig($provider_config)

This method is not documented.
Parameters
PhortunePaymentProviderConfig$provider_config
Return
wild

public function getProviderConfig()

This method is not documented.
Return
wild

abstract public function getName()

Return a short name which identifies this provider.

Return
wild

abstract public function getConfigureName()

Return a human-readable provider name for use on the merchant workflow where a merchant owner adds providers.

Return
wild

abstract public function getConfigureDescription()

Return a human-readable provider description for use on the merchant workflow where a merchant owner adds providers.

Return
wild

abstract public function getConfigureInstructions()

This method is not documented.
Return
wild

abstract public function getConfigureProvidesDescription()

This method is not documented.
Return
wild

abstract public function getAllConfigurableProperties()

This method is not documented.
Return
wild

abstract public function getAllConfigurableSecretProperties()

This method is not documented.
Return
wild

Read a dictionary of properties from the provider's configuration for use when editing the provider.

Return
wild

public function readEditFormValuesFromRequest($request)

Read a dictionary of properties from a request for use when editing the provider.

Parameters
AphrontRequest$request
Return
wild

abstract public function processEditForm($request, $values)

This method is not documented.
Parameters
AphrontRequest$request
array$values
Return
wild

abstract public function extendEditForm($request, $form, $values, $issues)

This method is not documented.
Parameters
AphrontRequest$request
AphrontFormView$form
array$values
array$issues
Return
wild

protected function renderConfigurationSecret($value)

This method is not documented.
Parameters
$value
Return
wild

public function isConfigurationSecret($value)

This method is not documented.
Parameters
$value
Return
wild

abstract public function canRunConfigurationTest()

This method is not documented.
Return
wild

public function runConfigurationTest()

This method is not documented.
Return
wild

public static function getAllProviders()

This method is not documented.
Return
wild

public function isEnabled()

This method is not documented.
Return
wild

abstract public function isAcceptingLivePayments()

This method is not documented.
Return
wild

abstract public function getPaymentMethodDescription()

This method is not documented.
Return
wild

abstract public function getPaymentMethodIcon()

This method is not documented.
Return
wild

abstract public function getPaymentMethodProviderDescription()

This method is not documented.
Return
wild

final public function applyCharge($payment_method, $charge)

This method is not documented.
Parameters
PhortunePaymentMethod$payment_method
PhortuneCharge$charge
Return
wild

final public function refundCharge($charge, $refund)

This method is not documented.
Parameters
PhortuneCharge$charge
PhortuneCharge$refund
Return
wild

abstract protected function executeCharge($payment_method, $charge)

This method is not documented.
Parameters
PhortunePaymentMethod$payment_method
PhortuneCharge$charge
Return
wild

abstract protected function executeRefund($charge, $refund)

This method is not documented.
Parameters
PhortuneCharge$charge
PhortuneCharge$refund
Return
wild

abstract public function updateCharge($charge)

This method is not documented.
Parameters
PhortuneCharge$charge
Return
wild

public function canCreatePaymentMethods()

This method is not documented.
Return
wild

public function translateCreatePaymentMethodErrorCode($error_code)

This method is not documented.
Parameters
$error_code
Return
wild

public function getCreatePaymentMethodErrorMessage($error_code)

This method is not documented.
Parameters
$error_code
Return
wild

public function validateCreatePaymentMethodToken($token)

This method is not documented.
Parameters
array$token
Return
wild

public function createPaymentMethodFromRequest($request, $method, $token)

This method is not documented.
Parameters
AphrontRequest$request
PhortunePaymentMethod$method
array$token
Return
wild

public function renderCreatePaymentMethodForm($request, $errors)

This method is not documented.
Parameters
AphrontRequest$request
array$errors
Return
wild

public function getDefaultPaymentMethodDisplayName($method)

This method is not documented.
Parameters
PhortunePaymentMethod$method
Return
wild

public function canProcessOneTimePayments()

This method is not documented.
Return
wild

public function renderOneTimePaymentButton($account, $cart, $user)

This method is not documented.
Parameters
PhortuneAccount$account
PhortuneCart$cart
PhabricatorUser$user
Return
wild

final public function getControllerURI($action, $params, $local)

This method is not documented.
Parameters
$action
array$params
$local
Return
wild

public function canRespondToControllerAction($action)

This method is not documented.
Parameters
$action
Return
wild

public function processControllerRequest($controller, $request)

This method is not documented.
Parameters
PhortuneProviderActionController$controller
AphrontRequest$request
Return
wild