Class WC_Braintree_Controller_GooglePay
Controller class for the Google Pay payment gateway.
- WC_Braintree_Rest_Controller
- WC_Braintree_Controller_GooglePay uses WC_Braintree_Controller_Cart_Trait
Package: Braintree\API
Deprecated: 3.2.4
Since: 3.0.0
Located at api/class-wc-braintree-controller-googlepay.php
Deprecated: 3.2.4
Since: 3.0.0
Located at api/class-wc-braintree-controller-googlepay.php
Methods summary
public
|
|
public
|
#
update_shipping_data( WP_REST_Request $request )
Update the shipping address and shipping method selected in the Google Pay payment sheet. This method was created because we can't use the cart conttroller's api since Google sends shipping address and shipping method updates in one call. |
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()
Methods used from WC_Braintree_Controller_Cart_Trait
Properties summary
protected
string
|
$namespace
|
#
'googlepay/'
|
private
|
$shipping_method_id
|