#fkaib-subscription-pi
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- fkaib-PE-subs, 12 minutes ago, 12 messages
- fkaib-checkout-customization, 1 day ago, 11 messages
- fkaib, 4 days ago, 14 messages
Could you share the Subscription ID?
fkaib-subscription-pi
sub_1ObsrDEvUNDxHSmfF9l6OjiW
Ah, it's what I suspected. The invoice has a '0' amount so no PaymentIntent was created
All the prices used for the subscription are usage based, not flat fees
will this method not work then? Do I need to create a setup intent instead?
You could use the Subscription's pending_setup_intent instead, no need to create a separate SetupIntent
Your code called confirmPayment() but you passed a client_secret associated with a SetupIntent. Did you mean to call confirmSetup() instead?
I was getting the above error when using 'pending_setup_intent' so I decided to use confirmSetup() instead of confirmPayment(). Will this automatically change the user? It seems like the payment method was added to the subscription but I just want to make sure.
I think you meant "will this automatically charge the user?". The user will not be charged, the payment method details they provided will just be saved at this point.
Sorry, I meant "charge the user".
Doesn't the "Charge specific payment method" mean that it will automatically charge the payment method attached? If not what do i need to do in order to charge the user automatically?
I used payment_settings={'save_default_payment_method': 'on_subscription'}, when creating the subscription.
Once you confirm the SetupIntent, you'll need to update the default payment method on the Subscription or the Customer. This won't be done automatically