#Martin-Woodupp

1 messages · Page 1 of 1 (latest)

tropic marlinBOT
bold steppe
#

Hi there, I can only support if you have a direct integration with Stripe. If you have questions related to a 3rd-party plugin, I'd suggest you to reach out to the plugin developer directly.

pliant hawk
#

We have a direct integration with Stripe yes. The Hubspot account is in France though

bold steppe
#

OK, so basically you want to attach a custom data (i.e., Hubspot ID) to a PaymentIntent object?

pliant hawk
#

Correct. If I go to a specific payment in my Stripe account, I am looking for a specific reference number from the Hubspot quote which is the Reference/Record ID. This is not to be found in the payment details nor in the event data

bold steppe
pliant hawk
#

How do I see this PaymentIntent's metadata on a specific payment?

bold steppe
#

You mean search PaymentIntent by metadata?

pliant hawk
#

Because the Record ID is not in the response metadata?

bold steppe
#

Do you have PaymentIntent ID that I can take a look?

pliant hawk
#

Sure. I have this paymentIntent pi_3MtSroCwIYUGV52s1S83yyru

But the reference I really like to get is the Hubspot Record ID which is this number 12848000785

bold steppe
#

I can see there are some metadata there, did you specify the hubspot record ID when creating the checkout session?

pliant hawk
#

The hubspot Record ID is an identification in the URL of the Hubspot deal but the payment via Stripe is done through a Quote which is created within the Deal. So the only identification I can find in the stripe payment is linked to the quote but I also need an identification to link the payment to the Hubspot Deal

bold steppe
#

As long as you set that ID to metadata when creating the checkout session, you can retrieve it through metadata later.

pliant hawk
#

Okay I understand. I dont have experience with setting up a checkout session. Is that so,ething you do in Hubspot or Stripe?

bold steppe
#

OK, the checkout session was created by HubSpot, so I'd suggest you reach out to them and tell them you want to add in the ID in the checkout session metadata.