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_ .


Top ↑

Return Return

(StripeCustomer) $customer Stripe Customer.


Top ↑

Source Source

File: includes/gateways/stripe/includes/card-actions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.8 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.