Page MenuHomePhorge
Diviner Tech Docs PhortuneTestPaymentProvider

final class PhortuneTestPaymentProvider
Phorge Technical Documentation (Phortune)

This class is not documented.

Tasks

Adding Payment Methods

Other Methods

Methods

public function __get($name)
Inherited

This method is not documented.
Parameters
$name
Return
wild

public function __set($name, $value)
Inherited

This method is not documented.
Parameters
$name
$value
Return
wild

public function current()
Inherited

This method is not documented.
Return
wild

public function key()
Inherited

This method is not documented.
Return
wild

public function next()
Inherited

This method is not documented.
Return
wild

public function rewind()
Inherited

This method is not documented.
Return
wild

public function valid()
Inherited

This method is not documented.
Return
wild

private function throwOnAttemptedIteration()
Inherited

This method is not documented.
Return
wild

public function getPhobjectClassConstant($key, $byte_limit)
Inherited

Phobject

Read the value of a class constant.

This is the same as just typing self::CONSTANTNAME, but throws a more useful message if the constant is not defined and allows the constant to be limited to a maximum length.

Parameters
string$keyName of the constant.
int|null$byte_limitMaximum number of bytes permitted in the value.
Return
stringValue of the constant.

public function setProviderConfig($provider_config)
Inherited

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

public function getProviderConfig()
Inherited

This method is not documented.
Return
wild

public function getName()

PhortunePaymentProvider

Return a short name which identifies this provider.

PhortuneTestPaymentProvider
This method is not documented.
Return
wild

public function getConfigureName()

PhortunePaymentProvider

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

PhortuneTestPaymentProvider
This method is not documented.
Return
wild

public function getConfigureDescription()

PhortunePaymentProvider

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

PhortuneTestPaymentProvider
This method is not documented.
Return
wild

public function getConfigureInstructions()

This method is not documented.
Return
wild
This method is not documented.
Return
wild
This method is not documented.
Return
wild
This method is not documented.
Return
wild

public function readEditFormValuesFromProviderConfig()
Inherited

PhortunePaymentProvider

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

Return
wild

public function readEditFormValuesFromRequest($request)
Inherited

PhortunePaymentProvider

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

Parameters
AphrontRequest$request
Return
wild

public function processEditForm($request, $values)

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

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)
Inherited

This method is not documented.
Parameters
$value
Return
wild

public function isConfigurationSecret($value)
Inherited

This method is not documented.
Parameters
$value
Return
wild

public function canRunConfigurationTest()

This method is not documented.
Return
wild

public function runConfigurationTest()
Inherited

This method is not documented.
Return
wild

public static function getAllProviders()
Inherited

This method is not documented.
Return
wild

public function isEnabled()
Inherited

This method is not documented.
Return
wild

public function isAcceptingLivePayments()

This method is not documented.
Return
wild

public function getPaymentMethodDescription()

This method is not documented.
Return
wild

public function getPaymentMethodIcon()

This method is not documented.
Return
wild
This method is not documented.
Return
wild

final public function applyCharge($payment_method, $charge)
Inherited

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

final public function refundCharge($charge, $refund)
Inherited

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

protected function executeCharge($payment_method, $charge)

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

protected function executeRefund($charge, $refund)

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

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()
Inherited

This method is not documented.
Return
wild

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

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

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

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

public function canRespondToControllerAction($action)
Inherited

This method is not documented.
Parameters
$action
Return
wild

public function processControllerRequest($controller, $request)
Inherited

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