#mattwoberts-customer-portal

1 messages ยท Page 1 of 1 (latest)

velvet elmBOT
spiral kiln
#

๐Ÿ‘‹

covert jetty
#

Hello, what is your problem with this flow?

spiral kiln
#

Ok so this is the flow I'm working on...

#

Customer has a trial subscription.
Trial has expired without a card, so the subscription is paused.
Customer wants to re-start, so we've passed them into the stripe customer portal
Customer enters direct debit as the payment method to start the subscription, and completes the details
In the backend - all the webhooks fire as I'd expect them to, but the UI (in the customer portal) reports an error to the user - see screenshot below

#

So I get that error message about something going wrong, but from the backend it all processes fine - I see the direct debit being stored, and 3 minutes later I get a successful payment on the invoice

#

But the UI above reports an error ๐Ÿ˜ฆ

#

I'm using a test clock if that makes any difference

#

If you need a customer ID: cus_MaXAeURqAFVvwd

gentle tiger
#

Hello ๐Ÿ‘‹
Stepping in as the server is a little busy

#

This is quite unusual, do you see any network requests error out in your network console?

spiral kiln
#

H there

#

No nothing like that - I'm setting up another test now so I'll report back on that one....

gentle tiger
#

Sure, np!

spiral kiln
#

Same thing - the webhooks are firing fine, everything has worked as expected, but the UI fails...

#

I know direct debits on the customer portal are very new, wonder if theres an issuie

#

I'm just testing one without a test clock now to see what happens there, but I'm just having to wait that 1 hour for the draft invoice to finalize before it will pause the subscription for me

gentle tiger
#

I see, yeah. more details will help.
Also, this would require a bit more time to look into what's exactly causing this. You may need to write in so that we can work on this asynchronously.

#

mattwoberts-customer-portal

spiral kiln
#

Yeah - there are a few things going on here...

#
  1. We're using the new "pause subscription when the trial ends with no payment method" - which is in beta
#
  1. We're directing users to the customer portal when this happens, and direct debit is very new there.
#

But I'll see how I get on.

gentle tiger
#

Regardless of wether it behaves normally without test clocks, I'd recommend that you write in to our support team so that we can take a deeper look (since this is in beta, our team on discord wouldn't be able to look into it with broader context)

support@stripe.com

spiral kiln
#

Yeah I will do ๐Ÿ™‚
Just getting some more info firsart

gentle tiger
#

Yup, thanks again for your patience ๐Ÿ™‚