#chiefwhitecloud_customer-source-expiring

1 messages · Page 1 of 1 (latest)

wintry scaffoldBOT
#

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

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

vernal berry
#

Hi there,
sorry for the delay. I am supporting another user right now. I'll be with you in just a moment.

#

There is no webhook event regarding Payment Method that are baout to expire. What you could do alternatively is listening for the payment_method.automatically_updated event. This event triggers when card details are automatically updated through Card Account Updater (CAU), meaning banks provide Stripe with updated card information, such as new expiration dates or card numbers. The event includes the old card details (like the previous expiration date) in the previous_attributes property, allowing you to track these updates and refresh the information in your database.

chrome bane
#

Ok thanks. I’m looking to send users an email to update their payment method, if their card is about to expire

#

Or is this all handled automatically now? And I don’t need to worry about it?

vernal berry
#

This should be handled automatically. At least in those cases where the banks tell us about updated cards.

chrome bane
#

Ok so there is no real integration for this anymore. We were using ProfitWell. They sent out emails for card about to expire and stripe also has this option in their settings.

#

Would these only be sent to sources customers? If we turned on the stripe email?

vernal berry
#

Let me check to make sure

vernal berry
#

Sorry for the delay. The automated email for expiring cards should also omit due to expiring Payment Methods. That's the latest update to that automation I could find.

chrome bane
#

Ok thanks. Just try to get this straight.

#

And for the email which is sent. It has a query parameter of referrer=expiring_card

#

Is there any way to pop a stripe hosted page to update their payment method information?

#

Or do we need to integrate this query string param to pop our own dialog?

wintry scaffoldBOT
fathom prawn
#

Hi 👋

I'm stepping in as my colleague needs to go soon.

#

And for the email which is sent. It has a query parameter of referrer=expiring_card
Is there any way to pop a stripe hosted page to update their payment method information?

Can you explain more of what you mean by this?

chrome bane
#

The stripe email which can be turned on for customers with a card that is about to expire contains a link

fathom prawn
#

Okay. And what would you like to do with that?

chrome bane
#

Well, I was just wondering if there is a stripe hosted page, like the invoice page, where users could update their card

#

Or do we have to handle the querystring

#

And display our own dialog

fathom prawn
#

We don't have a stripe hosted page for updating payment methods, no.

#

You could redirect your Customers to a Checkout Session using mode: "setup" to save a new Payment Method

chrome bane
#

Ok thank you!