#elianbraja
1 messages · Page 1 of 1 (latest)
Hi, yes you can do this. Let me send the document your way
So you'd want to make sure that you do not set a default Payment Method on the customer, https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method or on the subscription. Instead, you'd want pass the default_payment_method when creating the subscription. Here is what you'd want review: https://stripe.com/docs/billing/subscriptions/payment-methods-setting
No I don’t even want to pass the default_payment_method on creating a subscription neither
I just want to make the payment of the intended invoice with that specific card details and that’s all
for example. The customer wants to subscribe today. He types card detail of card “a”. After the payment succeeds the payment card gets disappeared and the next billing cycle will be applied the customer default payment method: card “b”
Can you share the request id where you're seeing this? Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
I am not seeing nothing, I just want to know how can I make this work as I need
- Can you confirm that the customer does not already have an attached default payment method?
It has one
for example he has a visa card as his default
then he pays the invoice for a subscription with a new card “master card”
- If they do not have a default payment attached to them either on the customer object or the subscription, you can just pass default_payment_method on the Subscription creation which I just tested this on my end.
after that I don’t want “mastercard” to be saved as available payment methods
is the opposite
I don’t want to save it
If the master card is not set as the default payment method, it should not be saved. Can you share the request id so I can further investigate this?