#x001w-subscriptions

1 messages · Page 1 of 1 (latest)

naive cipher
#

hi there! Can you share what you have tried so far?

finite sandal
#

pls help

#

hello~

#

hi

#

?

naive cipher
#

when creating the subscription, if you don't set default_payment_method, the subscription will attempt to use the customer’s invoice_settings.default_payment_method. So either set default_payment_method to the PaymentMethod attached on the customer on the subscription, or set the PaymentMethod attached to the customer as the invoice_settings.default_payment_method

finite sandal
#

I have set the PaymentSettings

#

it's still the same err

naive cipher
finite sandal
#

is it that?

naive cipher
#

Example

params := &stripe.SubscriptionParams{
        Customer:             stripe.String("cus_..."),
        DefaultPaymentMethod: stripe.String("pm_..."),
        Items: []*stripe.SubscriptionItemsParams{
            {
                Price: stripe.String("price_..."),
            },
        },
    }
    s, _ := sub.New(params)
finite sandal
#

ID of a payment method that’s attached to the customer, to be used as the customer’s default payment method for subscriptions and invoices.
I can't get the ID.

#

what is it the ID?

naive cipher
finite sandal
#

can I export that data?

#

like the subscription data

naive cipher
#

it's not exportable via the Dashboard unless you've set the payment method to the customer's default payment method

finite sandal
#

Can my existing customers still set a default payment method? If possible, how to do it? Please tell me, thank you.

#

I'm migrating data on customer subscriptions. pls

naive cipher
finite sandal
#

do it via the Dashboard is one by one for old customers ?

naive cipher
#

yes, you have to do it one by one for each customer via the Dashboard

finite sandal
#

ok, thanks very much. I will try