#mulchichis_api

1 messages ยท Page 1 of 1 (latest)

split folioBOT
void runeBOT
#

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.

split folioBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1276252053777289227

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

void runeBOT
indigo river
#

hi toby

dapper echo
indigo river
#

Thank you!

dapper echo
#

Any time!

indigo river
#

So I have a flow that creates a new payment method for a customer, but it will only capture the card info, so it won't show at checkout. I can't find anywhere to add parameters to the payment creation session so that it has the billing details

#
        customer=stripe_user_id, 
        flow_data={
            "type": "payment_method_update",
            "after_completion": {
               "type": "redirect",
               "redirect": {"return_url": "https://3477-66-194-72-58.ngrok-free.app/success"},
            }
        }
      )```
dapper echo
#

Ah, and it looks like you're using the Customer Portal for that flow? Let me double check the options available for those configurations to see if you can force the collection of billing details, but offhand I don't think you can.

indigo river
#

Yes. I redirect the user to that link right now.

dapper echo
#

Yeah, unfortunately I'm not spotting a way to configure the Customer Portal to force the collection of the additional details required to get the default payment method to show up in a Checkout Session.

indigo river
#

I see. The only reason I wanted to configure this was because I had concerns around how to let the user change their payment method while they're subscribed to my product, because I wasn't sure what would happen if they removed payment methods etc. from the stripe portal while they were subscribed to my product.

#

Is it safe to let the user manage their own payment methods? Safe being it won't let them cancel subscriptions by removing them etc? I currently require my users to contact support directly to cancel their subscriptions (but they can change and start them without support).

dapper echo
#

You can use Test Clocks to test this with your exact account settings to see if it would lead to any concerns for you:
https://docs.stripe.com/billing/testing/test-clocks

I don't recall offhand if the Customer Portal will let a customer delete their last payment method while having an active Subscription. They won't be able to cancel their Subscriptions though if you don't configure the portal to let them do so.

Learn how to move Billing objects through time in test mode.

indigo river
#

Okay thank you!

indigo river
#

I have one more question!

#

It's more of a clarifying one

#

if I have something like this:

        subscription_id,
        items=items,
        proration_behavior='create_prorations' if immediate_billing else 'none',
    )

and the subscription already has items, will it just add the items to it or will it replace the old items with the new ones?