Page MenuHomeClusterLabs Projects
Diviner Tech Docs PhortuneStripePaymentProvider

final class PhortuneStripePaymentProvider
Phorge Technical Documentation (Phortune)

This class is not documented.

Tasks

Adding Payment Methods

Other Methods

Methods

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.

PhortuneStripePaymentProvider
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.

PhortuneStripePaymentProvider
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.

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

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

See https://stripe.com/docs/api#errors for more information on possible errors.

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

private function getPublishableKey()

This method is not documented.
Return
wild

private function getSecretKey()

This method is not documented.
Return
wild

private function getStripeShortErrorCode($error_code)

This method is not documented.
Parameters
$error_code
Return
wild

private function loadStripeAPILibraries()

This method is not documented.
Return
wild

private function newDisplayExceptionFromCardError($ex)

This method is not documented.
Parameters
Stripe_CardError$ex
Return
wild