#mattwoberts-customer-portal
1 messages ยท Page 1 of 1 (latest)
๐
Hello, what is your problem with this flow?
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
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?
H there
No nothing like that - I'm setting up another test now so I'll report back on that one....
Sure, np!
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
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
Yeah - there are a few things going on here...
- We're using the new "pause subscription when the trial ends with no payment method" - which is in beta
- 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.
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)
Yeah I will do ๐
Just getting some more info firsart
Yup, thanks again for your patience ๐