Best answer

Get stripe metadata from stripe product ID

  • 3 August 2021
  • 7 replies
  • 1849 views

Userlevel 1

Hi,

When a customer credit card is successfully charged on Stripe, I want to do the following:

1. Get the product ID

2. Use the product ID to get that product's successURL metadata

3. Send an email to the customer with the successURL in the text

This is how it’s done in automate.io.

 

icon

Best answer by SamB 24 November 2021, 13:14

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

7 replies

Userlevel 7
Badge +14

Hi @nishaj 

The Stripe Zap app integration doesn’t have a Find Products search step available.

You can try using the Find Charge search step to return the meta data associated with the Charge.

 

Userlevel 1

Thanks @Troy Tessalone but the Find Charge fields don’t show the metadata I need. Probably because it’s associated with the product ID and not the charge. Any way to search products?

Userlevel 7
Badge +14

@nishaj 

You may have to leverage the Stripe API: https://stripe.com/docs/api

App APIs can be used in Zaps with the Webhooks app: https://zapier.com/apps/webhook/integrations

Userlevel 1

That’s only available on the $20 premium plan :/

 

 

Userlevel 1

Hi

@Troy Tessalone Could you explain how to get Product ID using Webhook? 

Userlevel 7
Badge +14

Hi @Winmark01 

These Stripe API endpoints are for Products: https://stripe.com/docs/api/products

 

If you need help considering hiring a Zapier Expert: https://zapier.com/experts

Userlevel 7
Badge +11

Just wanted to follow up here as spotted that @nishaj had also reached out to support about this and was added to several feature requests. These would allow for sessions to be searched for by ID and to retrieve prices and products metadata. 

We don’t have ETA’s on when those feature requests would be implemented but we’ll send an email notification as soon as they have been sorted. Until then, using webhook steps to access the desired information from the Stripe API or hiring a Zapier Expert to assist are some good options to try in the meantime. 

For anyone who comes across this closed thread and would like to be added to the feature requests too, please contact our Support Team to request to be added. :)