Function bwcs_can_delete_payment_method
Function that determines if there are any subscriptions associated with the payment method. If so, then it returns false. Subscriptions with a status of cancelled are not considered.
Package: Braintree\DeprecatedFunctions
Deprecated
Located at deprecated/wcs-braintree-deprecated-functions.php
Deprecated
Located at deprecated/wcs-braintree-deprecated-functions.php
Parameters summary
WP_Error |
$error |
|
string |
$token |
Return value summary
boolean
|
boolean |