#Derek Lance

1 messages · Page 1 of 1 (latest)

round atlasBOT
silk fulcrum
#

Hi there

#

If the invoice property is null then you know it is a PaymentIntent not related to a Subscription

stiff vigil
# silk fulcrum Hi there

We have a specific product that the user is purchasing, is there some way to check against the product Id in the payment intent object?

silk fulcrum
#

No Products/Prices don't exist for one-off PaymentIntents.

#

If you are trying to check product ID for PaymentIntents for Subscriptions/Invoices then yes you can expand the Invoice to look

#

Otherwise, you want to track things like product IDs in metadata for one-off PaymentIntents