#Ricky-dunning-emails

1 messages · Page 1 of 1 (latest)

rustic steppe
#

Hi there! Can you clarify a bit here? You don't want to send emails after the retries? So you just want to send one for the initial failure? Is that correct?

rain agate
#

not quite, i do indeed what to send multiple reminder emails based on the charge.failed webhook.. but i asked stripe support and the charge.failed doesn't have a count as to the number of retries that have been made.. it would be ideal becuase my api would then say "we've made n attempts to charge your card but failed"

rustic steppe
#

I see, thanks for clarifying.

#

Let me see if there is a workaround here

#

You may just have to track this yourself

#

Ah okay actually

rain agate
#

yeah.. i could but that requires more coding haha.. thought this would be sent in the very charge.failed webhook, it would seem appropriate.. however strpie support did say they see value in it but cant guarantee when it would be implemented.

rustic steppe
rain agate
#

thanks for that. are they almost the same invoice failed and charge.failed?

#

for subscriptions.

rustic steppe
#

Yep they will fire at the same time when a charge is attempted and fails for an invoice

rain agate
#

ok i may use invoice.payment failed instead of charge.failed....

#

awesome... i just let stripe supprot know about this too.

rustic steppe
#

👍

#

You said Can i embed the customer portal, instead of redirection to a hosted page? I have noticed webflow and some other developers being able to embed the customer portal in a iframe or some other way... (customers get confused when they are taken away from the primary domain name)

rain agate
#

sorry will do here.. as this is a new subject.

rustic steppe
#

No, you can't embed the Customer Portal. It requires a redirect.

#

Curious where you saw this done before?

rain agate
#

is this some sort of hackery

rustic steppe
#

Yeah neither of those are the Stripe customer portal

#

Those are portals that are built via those plugins

rain agate
#

ahhh...

#

okay gotcha... was hoping that the customer portal would eventually have a embedded option using a sdk or a external js, (similar to stripe elements)

#

im guessing even if i try to embedd it (iframe or other hackery) i will get cors errors and such.

rustic steppe
#

Yeah right now we don't support embedding it (you will hit an error as you stated).

#

We have heard this feedback before, and it is warranted (a lot of merchants want to embed Stripe Checkout as well), so we are aware of this. But no timeline right now for this to be possible.

rain agate
#

right.. so solution is to code it,, just that we needs time taken away from our own app..

#

thanks for your help, been awesome.