#ed_best-practices

1 messages ยท Page 1 of 1 (latest)

signal pecanBOT
#

๐Ÿ‘‹ 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/1382450665271332994

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

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.

placid lantern
#

Hello there

dreamy sleet
#

Imagine I am building a B2B app for hotels. Users put a card on file.

placid lantern
#

No, once a PaymentMethod is detached from a Customer it is consumed.

#

This is basically the same thing as it being deleted.

dreamy sleet
#

they also want to remove it from the wallet, but the hotel wants to make sure that card is still kept on file in case there are damages.

#

OK - any advice on best practices to achieve above then?

#

How can I remove payment methods from a user's wallet but still allow the hotel to charge that card if they find any damages a few days later? @tiny otter

placid lantern
#

That mostly depends on what you consider "the user's wallet".

#

If that is just the UI that you show for the user to re-use saved PaymentMethods then you could keep the PaymentMethod attached but just not show it to the user in the UI in this case.

dreamy sleet
#

Is there a way to save in stripe - don't show to the user.

#

I guess, as the name of the channel suggests, I am seeking your expert advice on best practices @placid lantern ? ๐Ÿ™‚

placid lantern
#

If you build your own UI here then you control what you show to the user.

#

If you are talking about using our UI, like the Customer Portal, then no that's not possible.