'is the stripe session for bank account mode broken

Chatted with stripe support and had them test with same results

When using the api via:

  const session = await stripe.checkout.sessions.create({
    payment_method_types: ['us_bank_account'],
    success_url: topLevelDomain + '/billing_setup/?success=yes&session_id={CHECKOUT_SESSION_ID}',
    cancel_url:  topLevelDomain + '/cancel',
    mode: 'setup',
  });
  return Response.redirect(session.url, 303);

I then go through the process of connecting a bank account in both sandbox mode and live mode, tested on multiple browsers and incognito.

I successfully connect, but then clicking verify expected outcome is a redirect to the success_url...but instead nothing happens.

Is there another parameter i need to be setting or is this a bug. Chat support was 0 help.

Thanks



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source