View source: R/api_stripe_payment_method.R
set_stripe_payment_method | R Documentation |
Set the Default Payment Method for a Customer
set_stripe_payment_method( customer_id, payment_method_id, stripe_secret_key = .pp$keys$secret )
customer_id |
the Stripe customer id |
payment_method_id |
the Stripe payment method id |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.