Question

Custom metadata missing from the New Charge in Stripe trigger

  • 27 May 2021
  • 7 replies
  • 1378 views

Userlevel 1

Hi,

I know there are 2 other forum topics related to the same question but neither of them solved my issue.

My zap has a “New Charge in Stripe” instant trigger, and I want to get metadata from that.

I can access the default metadata (product name and product ID) but the custom meta-data that my application is adding to the charge (which i have verified is visible on stripe dashboard) doesn’t seem to show in Zapier.

I tried adding the “Find Charge” action after the trigger but it doesn’t show up in that listing either.

Any help would be greatly appreciated


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 +9

Hi @Andrew S,

Check out this related topic answered before: 

Basically, you have to setup a webhook instead of native Stripe app in Zapier. Using webhook you can get raw data from stripe, so there’s no filtering of data happens in Zapier’s side.

 Outliant

https://www.outliant.com/automation                                                                                                automation@outliant.com

 

Userlevel 7
Badge +14

Hi @Andrew S 

As a workaround, you can add as Step 2 in your Zap this action: Stripe - Find Charge

Userlevel 1

Hi Troy and Rob,

Thanks for your replies - Yes I have tried both these solutions, both the Find Charge and setting up a Webhook. Neither of them get the full-metadata unfortunately. They get 2 of the metadata fields, but not the third custom field of extra metadata that I am adding.

I think this is because the way the plugin I’m using adds the custom field metadata to the order, is by not including it in the original charge, rather by “A request to update PaymentIntent”. Zapier seems to get the original order JSON, which doesn’t include this updated metadata (see screenshot - clicking the 200OK request box shows the full JSON with the correct metadata).

Is there any way to tell my Zapier webhook to get this later information? On Stripe I tried setting the webhook to only send Events of the types which look relevant:

payment_intent.processing, payment_intent.amount_capturable_updated, payment_intent.succeeded, charge.updated

But the webhook only fires for payment_intent.succeeded, and it doesn’t include the extra metadata.

 

Thanks for any help.

 

 

 

Sounds like we have the same exact issue and neither of the recommendations above work. I can see the metadata I need on Stripe dashboard, but it’s not coming over to Zapier.

Userlevel 7
Badge +14

@Andrew S and @andrewoh 

Try adding a Delay step after the Zap trigger fires followed by a Stripe Find Charge search step to see if that gives the plugin enough time to add the metadata.

https://zapier.com/help/create/customize/add-delays-to-zaps

Hi @Troy Tessalone appreciate the response.. I had a gut feeling that would not work, but gave it a try anyways. No luck unfortunately…. It’s like Zapier will just not allow custom metadata to be read/be made aware of within their platform. 

Userlevel 7
Badge +14

@andrewoh

FYI: Most Zap app integrations are created and maintained by the app developer (not Zapier) on the Zapier Platform, altho I’m unsure who owns the Stripe Zap app integration.

 

You may want to explore leveraging the Stripe API: https://stripe.com/docs/api

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

 

Consider opening a ticket with Zapier Support for further assistance: https://zapier.com/app/get-help