#StephenCollins

1 messages · Page 1 of 1 (latest)

modern copperBOT
warm trail
#

So you want to have access to the payment link id on the success_url? Is that right?

last timber
#

correct

warm trail
last timber
#

Oh, you mean the thing that staring me right in the face in the docs that I didn't even notice. Ha. Thanks.

warm trail
#

No worries

last timber
#

Is there a way to update the description so that it doesn't just say pi_XXXXXXXX?

warm trail
#

You want it to be dynamic (per Payment Intent) or just all the same value?

last timber
#

Same value will probably work

#

Seems like there is a way to do it with the Line Item maybe, but I can't format it properly.

warm trail
#

What is the api call you're trying to make there?

#

Update a payment intent?

last timber
#

That is in the Payment Link. I think I was going down the wrong path.

#

Basically, I have very non-technical people who go into the Stripe dashboard and when they see 'pi-xxxxxxxx', they have no idea what that is.

#

I am hoping there is a way in the Payment Link to set it so that is says something more meaningful.

warm trail
#

You could always use webhooks to listen for PI creation and then update the description though

#

But that may be more lift than you want

last timber
#

But all the link gives me is the {CHECKOUT_SESSION_ID} and there is no way to update a session.

warm trail