Best answer

Zapier Webhook.... to search payment intents in stripe - cant get it to work

  • 28 March 2023
  • 16 replies
  • 146 views

Hello

 

I followed this topic...Zapier Webhook and Stripe Integration to Search for Payment Intent | Zapier Community

But can't get this to work.

 

Ive setup the following:

Added my secret key to “basic auth” followed by a “|”

 

 

The added the authZ header… 

 

 

 

Get this error:

 

 

 

Can anyone shed some light on where i may be going wrong?

icon

Best answer by Troy Tessalone 29 March 2023, 02:08

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.

16 replies

Userlevel 7
Badge +14

Hi @mck_stu 

Good question.

Try this Authohrizatoin format

Bearer sk_live…

There should be no : or double quotes “

 

Thanks for quick reponse..

I remove the “ and the :

 

but stil get the 400 error

Userlevel 7
Badge +14

@mck_stu 

We’d need to see a full screenshot with how your Zap step is now configured, thanks.

Sure here you go…

 

 

this is the rest: 

 

 

Userlevel 7
Badge +14

@mck_stu 

What API method are you trying to use? [GET, POST, etc.] (It’s unclear from the screenshots)

Sorry its GET

The idea is want to grab a payment thats been made in a booking system (accuity) its being processed as a payment intent via stripe. Then at this “GET” stage, I want to find the payment that corresponds in stripe...then update an existing “deal” in hubspot..and move its status to “customer paid”.

 

If theres a better way to achieve im all ears :)

Userlevel 7
Badge +14

@mck_stu 

Try removing the space after the :

 

EXAMPLE

 

Tried:

 

 

 

and this is a customer in my stripe account:

 

 

Still no luck same 400 error :(

 

Userlevel 7
Badge +14

@mck_stu 

Try changing to Basic Auth

 

Otherwise, check your Stripe API Key has enough permissions.

Think ive found the issue...checking in stripe logs… Seems the API version Zap uses is out of date?\

 

 

Is there a way i can address this in zapier?

 

Userlevel 7
Badge +14

@mck_stu 

Are you using the Webhooks app to make the GET request or the Stripe API Request action?

 

Using Zapier GET webhooks app...Ill try the stripe version

Userlevel 7
Badge +14

@mck_stu 

I successfully tested with the Webhook GET as per below.

 

 

That did the trick…. Thanks heaps Troy!