#dungngo_docs

1 messages ¡ Page 1 of 1 (latest)

foggy cometBOT
#

👋 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. Thank you for your patience!

⏱️ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime! If this thread is closed and you have another question you'll need to start a new thread.

🔗 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/1214444824284106792

📝 Have more to share? You can add more detail below, including code, screenshots, videos, etc.

sturdy sparrowBOT
#

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.

tranquil vigil
#

Hmm I don't get it. Customer Sheet is to offer a prebuilt UI to manage the saved payment method, so it's what it is. If you want your customer to add a new card, why wouldn't you use the PaymentSheet with SetupIntent?

dense rivet
#

My app has a subscription feature - membership. I'm encountering a case, that when a subscription is priced as $0 ( discount 100% ), the next subscription period (1 month), there are no default payment card from the previous purchase. So the subscription will fail.

#

So I just want to know if there's anyway to show the UI to add card first instead of the UI for saved cards. So the customer can add card first, before making that $0 dollar subscription

#

And the next subscription in a month will not fail

tranquil vigil
#

Yes so that's the use of PaymentSheet in setup mode, to create a SetupIntent

dense rivet
#

I'm using that, sorry if the doc link is misleading

#

I just want to change the UI when it's shown

#

for the add card UI to show first

#

rather than showing the saved card UI first

tranquil vigil
#

Your Doc is Customer Sheet, when I am refering to Payment Sheet, a different component

dense rivet
#

Should I remake the thread? Sorry for putting the wrong link

tranquil vigil
#

Np, can you share the link again here?

dense rivet
tranquil vigil
#

Oh okie this is the correct one. And you setup a Customer Id and an emepheral key on the config, correct?

dense rivet
#

Yes, I am

tranquil vigil
#

Alright, can you first try to

  1. Keep the customer id
  2. Comment out the customerEphemeralKeySecret
    to see how it goes?
dense rivet
#

isn't the emepheral key required?

tranquil vigil
#

Okie, can you try to comment out this whole configuration.customer? You will then need to manually attach the collected PaymentMethod to your customer later on backend

dense rivet
#

I don't think I can change the backend set up

#

Can this be change only on the mobile code?

tranquil vigil
#

I am afraid we don't have such a convenience parameter on mobile side