#hickorydickorydock_code

1 messages ¡ Page 1 of 1 (latest)

worn hearthBOT
#

👋 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/1445449366444966050

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

limber tinsel
#

I have a page where users can update the details of their recurring donation. For example, if a user has been donating $10 monthly to an organization, they can log onto a page where they can change which card they're donating by, or use a different expiration date, or change the amount.

Currently, these recurring donations are set up with PaymentIntents because of an issue with SetupIntents showing $0 for Apple Pay/Google Pay/etc (because SetupIntents have no amount).

If I call confirmCardPayment(), I'm able to collect a payment from the new payment method, but that's not exactly what I'm looking to do, since I don't want to charge the card right now, only to update it for later, as a user might update their card at any time.

If this were a SetupIntent I think this would be easier to change just the details, but I'm open to hearing all options, especially because of the SetupIntent amount issue noted above.

blazing solstice
limber tinsel
#

ah excellent! the Payment Method API looks perfect, thank you