#goliath1879_docs
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1252940682398666812
đ Have more to share? Add 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.
- goliath1879_unexpected, 1 day ago, 13 messages
- goliath1879_error, 1 day ago, 8 messages
- goliath1879_docs, 1 day ago, 31 messages
- goliath1879_docs, 1 day ago, 15 messages
You'd need to re-collect payment details via Setup Intent confirmation. That will handle mandate generation if required
By setup Intent confirmation you mean SetupIntent.confirm API right? I don't use it though. Also can you let me know since the end_date is not required field in mandate_options what is the default end_date is ? and when will the mandate expire?
If you're not using Setup Intents, then how are you collecting payment details?
I would appreciate if you can shed some light on interval parameter. I am using sporadic since payments can occur anytime.
Not sure what 'end date' field you're referencing
I am using SetupIntent.create API and from card element in UI it gets confirmed.
OK, so you're calling confirmCardSetup (which calls /setup_intents/:id/confirm under the hood). So this handles the mandate creation for you
ok thanks for the confirmation.
is it possible to cancel a mandate? or update it? I can only find docs for retrieving the mandate
Nope
so according to the documentation if I create a mandate via SetupIntent/PaymentIntent and don't specify payment_method_options[card][mandate_options][end_date] the mandate remains active forever. In this case how can a user cancel the mandate?
The idea is that you'd have functionality in your website to allow them to delete/remove their saved card/payment method which would expire the mandate
Gotcha
can you help me understand how the interval frequency works when set to sporadic?
Not sure how else to explain that. It'd mean that the card associated with the mandate will be used for sporadic payments. I guess if it's useful if you don't plan regular, recurring payments and instead they'll be ad-hoc