Stripе Data Sync and Stripe Customer id

Hi there!!

I’m trying to build an App to work in combination with this super-useful official App: HubSpot Marketplace

I want to rely on that in order to avoid that “sync-task”.

I’m looking to build new CRM panels with a to expand functionality, however I’m stuck for several days and I’m desperate! :disappointed_face:

It’s about the Stripe Customer Id. My understanding is that when “Stripе Data Sync” acts, it creates the Customer in Stripe and store their id (it’s a string like “cus_xxx”).

But, this kind of information is missing in the Contact object. I’ve reviewed all properties and there is nothing.

Just I’ve found references to “Stripе Data Sync” in “Web analytic history”, take a look please!! :backhand_index_pointing_down:

But nothing useful when I retrieve the Contact object via API.

Do you know if there is any way to obtain the Stripe Customer Id (“cus_xxx”) via API from the “Stripе Data Sync” ???

Please help!! :folded_hands:

Thanks in advance!!

Hello @JavierMoralSQ1 thank you for posting in our Community!

I was able to investigate more about it and currently Are you referring to our Stripe Data Sync integration? If so, the only objects we can sync with that integration are Customers, Invoices, and Products (you can see the detailed list here). You’ll see from Stripe’s API documentation that Subscriptions are a distinct object. In HubSpot, we don’t have a compatible object which we can map their object.

I want to invite our top experts @Anton @Teun any recommendations to @JavierMoralSQ1?

Thank you,

Pam

Is there any possible way to get the CUSTOMER ID from Stripe to be synced with Hubspot?

If anyone is interested in this. There is definitely no way to get it, I had to work with the API of Stripe and Hubspot in order to update get this and other info.

@michaelmota - what application did you use for the APIs?

Had to implement the integration directly with the API using Python.

@michaelmota can you provide the documentation you used to be able to do this? I am also stuck with this problem.

I know this is an older post but after having some concern that getting customer ID from Stripe to Hubspot through the Data Sync integration was not going to be possible, I confirmed it now is available with the integration - in the Contact mapping set-up, just select Record ID and you will get the cus_XXXX id you were looking for.

Hi @BBellon,
Thank you for sharing!
Cassie, Community Manager