#keithm5699_api

1 messages ¡ Page 1 of 1 (latest)

raven laurelBOT
#

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

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

jagged urchinBOT
empty locust
#

Just tested, if the payment method already has a mandate attached to it, you don't need to specify anything mandate-related when confirming the payment intent

#

The mandate is just a thing on the first payment when the customer indicates that they want to let you charge them like this

carmine verge
#

Hi, thanks for quick response

#

We're currently writting a test for this on the server side and in the test we're not passing anything mandate related until when strying to confirm the paymentIntent

#

if we send the 'mandate_date' we get the error saying we're not setup to send it, if we don't send it we get an error saying mandate must be provided

raven laurelBOT
empty locust
#

Gotcha, per that error message it seems like you can't do that without something being set up on your account that I think our support team would need to enable. Without that, I think it would be best to submit this mandate info once on the frontend using either Elements or Checkout and then work with the saved PM from there

carmine verge
#

Ok great, thanks