#ironbeard

1 messages ยท Page 1 of 1 (latest)

regal solsticeBOT
gilded vigil
#

Do you have the ID of the other payment here as well?

rocky bronze
#

There's only been one payment attempt I think

#

But I believe what happened is that the client secret never got sent to the frontend

#

Could I just send her the invoice PDF and have her click on the link and pay for it there?

regal solsticeBOT
gilded vigil
#

When your site recovered, were you able to send the same client secret to your front end?

#

Yeah, that could also work. I think the main thing is making sure only one invoice or payment intent is created here if possible

rocky bronze
#

Hmm, I'm not 100% sure.

#

It looks like there's only one invoice and one payment intent

#

cus_NhUCXIZ7pzafy4

#

And if they pay using the invoice link, will payment_method.attached webhook fire?

tulip smelt
#

๐Ÿ‘‹ stepping in

#

Yeah looks like they haven't paid yet so as long as you use the client secret (or the hosted invoice page) from that Invoice/PaymentIntent then you won't have a duplicate.

#

If I remember correctly, I don't think payment_method.attached fires here when paying via Hosted Invoice Page since we actually tokenize via a Source (it uses one of our legacy integrations).

#

That said, I'm not 100% on that and I'd recommend running a quick test

rocky bronze
#

Oh, hmm interesting.

#

Would the payment method actually get attached to the Customer, though? (even if the signal isn't fired)

tulip smelt
#

Yes it should I believe

rocky bronze
#

Okay, I think we'll be best to go with the Invoice; just because I'm not sure exactly what her webpage shows and whether re-adding the item to her shopping cart will cause issues, etc.

Thanks so much ๐Ÿ™‚