#jokamax

1 messages · Page 1 of 1 (latest)

boreal shaleBOT
scarlet quartz
#

Yes as the metadata set on the Payment Link only propagates to the Checkout Session object and not the underlying Payment Intent

#

We're working on adding support for that via a new parameter

whole garnet
#

Ok thanks because I received two events not event not attached... so I have duplicate line on my side

#

But I understand : I will try to find a way to work with the anonymous payment intent

scarlet quartz
#

Recommendation is to generally just rely on the checkout.session.completed event and ignore the payment_intent.* events

scarlet quartz
whole garnet
scarlet quartz
whole garnet
#

Ok thanks 😢

scarlet quartz
whole garnet
#

I understand : so I have to integrate payment intent for nothing in my DB and next cancel it if a checkout linked is found... Ok I will wait for the new data link to the payment intent lol

#

But thanks a lot for the solution

#

I will explain to my boss

scarlet quartz
#

Not really sure what scenario you're describing. Why would you cancel a PI?

#

You can't cancel a PI created by Checkout

whole garnet
#

Cancel in my DB (mysql) Mirror. Internal functionning : intent by webhook are saved

#

Don't worry : it's good.
I have the way