Class WC_Braintree_Controller_Local_Payment
Controller class that is called when a local payment gateway is used. This controller stores the payer data for later use by webhooks so the payment can be completed.
- WC_Braintree_Rest_Controller
- WC_Braintree_Controller_Frontend
- WC_Braintree_Controller_Local_Payment
Package: Braintree\API
Author: User
Since: 3.0.0
Located at api/class-wc-braintree-controller-local-payment.php
Author: User
Since: 3.0.0
Located at api/class-wc-braintree-controller-local-payment.php
Methods summary
public
|
|
public
|
#
save_payment_data( WP_REST_Request $request )
Store the payer Id against the order so it can be used later on to process the payment. |
public
|
Methods inherited from WC_Braintree_Controller_Frontend
Methods inherited from WC_Braintree_Rest_Controller
admin_permission_check()
,
deprecated_rest_uri()
,
get_error_messages()
,
get_messages()
,
register_authenticated_route()
,
rest_uri()
,
rest_url()
,
shop_manager_permission_check()
Properties summary
protected
string
|
$namespace
|
#
'local-payment/'
|