PHP Class RCP_Payment_Gateway_Stripe, restrict-content-pro

Since: 2.1
Inheritance: extends RCP_Payment_Gateway
Afficher le fichier Open project: restrictcontentpro/restrict-content-pro Class Usage Examples

Protected Properties

Свойство Type Description
$publishable_key
$secret_key

Méthodes publiques

Méthode Description
fields ( ) : string Add credit card fields
init ( ) Get things going
process_signup ( ) Process registration
process_webhooks ( )
scripts ( ) Load Stripe JS
validate_fields ( ) Validate additional fields during registration submission

Méthodes protégées

Méthode Description
handle_processing_error ( $e ) Handle Stripe processing error

Private Methods

Méthode Description
create_plan ( $plan_name = '' ) : boolean | string Create plan in Stripe
plan_exists ( $plan ) : boolean | string Determine if a plan exists

Method Details

fields() public méthode

Add credit card fields
Since: 2.1
public fields ( ) : string
Résultat string

handle_processing_error() protected méthode

Handle Stripe processing error
Since: 2.5
protected handle_processing_error ( $e )
$e

init() public méthode

Get things going
Since: 2.1
public init ( )

process_signup() public méthode

Process registration
Since: 2.1
public process_signup ( )

process_webhooks() public méthode

public process_webhooks ( )

scripts() public méthode

Load Stripe JS
Since: 2.1
public scripts ( )

validate_fields() public méthode

Validate additional fields during registration submission
Since: 2.1
public validate_fields ( )

Property Details

$publishable_key protected_oe property

protected $publishable_key

$secret_key protected_oe property

protected $secret_key