#Martin-Woodupp
1 messages · Page 1 of 1 (latest)
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.
We have a direct integration with Stripe yes. The Hubspot account is in France though
OK, so basically you want to attach a custom data (i.e., Hubspot ID) to a PaymentIntent object?
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
OK, then you can set it through PaymentIntent's metadata https://stripe.com/docs/api/payment_intents/create?lang=java#create_payment_intent-metadata
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
How do I see this PaymentIntent's metadata on a specific payment?
You mean search PaymentIntent by metadata?
Because the Record ID is not in the response metadata?
Do you have PaymentIntent ID that I can take a look?
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
I can see there are some metadata there, did you specify the hubspot record ID when creating the checkout session?
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
As long as you set that ID to metadata when creating the checkout session, you can retrieve it through metadata later.
Okay I understand. I dont have experience with setting up a checkout session. Is that so,ething you do in Hubspot or Stripe?
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.