WC_Stripe_Controller_Gateway_Settings
extends WC_Stripe_Rest_Controller
in package
Tags
Table of Contents
Properties
- $error : WP_Error
- $namespace : mixed
Methods
- admin_permission_check() : mixed
- connection_test() : mixed
- Perform a connection test
- create_payment_config() : mixed
- create_webhook() : mixed
- Create a Stripe webhook for the site.
- delete_connection() : mixed
- delete_webhook() : mixed
- fetch_payment_config() : mixed
- refresh_payment_config() : mixed
- register_apple_domain() : mixed
- Register the site domain with Stripe for Apple Pay.
- register_routes() : mixed
- Register all routes that the controller uses.
- rest_uri() : mixed
- rest_url() : mixed
- shop_manager_permission_check() : mixed
- add_validation_error() : mixed
- Allows a status code of 200 to be returned even if there is a validation error.
- get_error_messages() : mixed
- get_messages() : mixed
- register_authenticated_route() : mixed
Properties
$error
protected
WP_Error
$error
= \null
$namespace
protected
mixed
$namespace
= 'gateway-settings'
Methods
admin_permission_check()
public
admin_permission_check(WP_REST_Request $request) : mixed
Parameters
- $request : WP_REST_Request
connection_test()
Perform a connection test
public
connection_test(WP_REST_Request $request) : mixed
Parameters
- $request : WP_REST_Request
create_payment_config()
public
create_payment_config(WP_REST_Request $request) : mixed
Parameters
- $request : WP_REST_Request
create_webhook()
Create a Stripe webhook for the site.
public
create_webhook(WP_REST_Request $request) : mixed
Parameters
- $request : WP_REST_Request
delete_connection()
public
delete_connection(WP_REST_Request $request) : mixed
Parameters
- $request : WP_REST_Request
delete_webhook()
public
delete_webhook(WP_REST_Request $request) : mixed
Parameters
- $request : WP_REST_Request
fetch_payment_config()
public
fetch_payment_config(WP_REST_Request $request) : mixed
Parameters
- $request : WP_REST_Request
refresh_payment_config()
public
refresh_payment_config(WP_REST_Request $request) : mixed
Parameters
- $request : WP_REST_Request
register_apple_domain()
Register the site domain with Stripe for Apple Pay.
public
register_apple_domain(WP_REST_Request $request) : mixed
Parameters
- $request : WP_REST_Request
register_routes()
Register all routes that the controller uses.
public
register_routes() : mixed
rest_uri()
public
rest_uri([mixed $uri = '' ]) : mixed
Parameters
- $uri : mixed = ''
rest_url()
public
rest_url([mixed $uri = '' ]) : mixed
Parameters
- $uri : mixed = ''
shop_manager_permission_check()
public
shop_manager_permission_check() : mixed
add_validation_error()
Allows a status code of 200 to be returned even if there is a validation error.
protected
add_validation_error(WP_Error $error) : mixed
Parameters
- $error : WP_Error
get_error_messages()
protected
get_error_messages() : mixed
get_messages()
protected
get_messages([mixed $types = 'all' ]) : mixed
Parameters
- $types : mixed = 'all'
register_authenticated_route()
protected
register_authenticated_route(string $route) : mixed
Parameters
- $route : string