edds_customer_set_default_payment_method( string $stripe_customer_id, string $payment_method_id )
Sets default payment method if none.
Description Description
Parameters Parameters
- $stripe_customer_id
-
(Required) Stripe Customer ID. Usually starts with cus_ .
- $payment_method_id
-
(Required) Stripe Payment ID. Usually starts with pm_ .
Return Return
(StripeCustomer) $customer Stripe Customer.
Source Source
File: includes/gateways/stripe/includes/card-actions.php
Changelog Changelog
Version | Description |
---|---|
2.8 | Introduced. |