#heidi_api

1 messages Β· Page 1 of 1 (latest)

past glacierBOT
#

πŸ‘‹ 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/1377720356328046822

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

autumn raven
#

Hi there πŸ‘‹

#

I am taking a look at this, but might take a second for me to come back with some more information about this

mild nebula
#

i'm also searching through the discord history for other qas that might help

autumn raven
mild nebula
#

other relevant details - early in our rewrite we did get failures from Indian cards where the messaging was "Your card does not support this type purchase" - I believe at the time we had rewritten part of the flow to use payment intents, but hadn't figured out the setup intent part yet. Not sure if that is relevant. But that's what we're afraid of happening right now. And then also related, it's not a subscription workflow. and it's hard to tease out from the docs when it references async payments if it's just for subscriptions or also affects us

#

oh, I haven't written it like that yet. I have

confirmParams: {
        return_url: window.location.href,
        mandate_data: {
          customer_acceptance: {
            type: "online",
            online: {
              ip_address: window.constants.ip_address || '127.0.0.1',
              user_agent: window.constants.user_agent || 'Chrome/90.0.4430.93',
            }
          }
        }
      },
#

let me try adding that

mild nebula
#

that worked, thank you ☺️ . I get the mandate back once I confirm the setup intent, and also I had the auth step trigger. I think there's one thing I'm confused about still. In that Indian mandate documentation it references a 26 hour holding period before a charge will go through. In testing just now I was able to charge the card and show the charge as succeeded. Is the testing environment accurate in that sense?

autumn raven
mild nebula
#

Yep, using off_session: true

#

oh! I didn't know how to interpret that 15 min. Basically, that's simulating the 26 hours then?

autumn raven
#

Yes, that's how it should work

mild nebula
#

neat, thank you, I appreciate you getting me over this hump. Was very easy in retrospect but I have so many docs and tabs open πŸ˜