#Scott-applicationfee

1 messages · Page 1 of 1 (latest)

granite cobalt
#

Hi! Are you trying to update the application fee after confirming the payment?

scenic sentinel
#

I am trying to set the application fee according to the payment method But i'm not sure how to access the Payment method to check the card origin when it the payment is processing?

granite cobalt
scenic sentinel
#

Is this automatic?

#

Or can it be made automatic using webhooks?

full heron
#

Hey, sorry for the silence in this thread. Soma had to step away and I took a bit to catch up

scenic sentinel
#

No problem

full heron
#

And then you can update the application fee and confirm the payment intent from there

#

Thank you for being understanding

scenic sentinel
#

Cool, I tried this webhook (without a functional hook in place) but nothing in the webhook console was triggered when I created the payment intent and paid for it

full heron
#

Can you send me the ID of the payment intent that you just used?

scenic sentinel
#

I can see it in events

#

pi_3Kr07iBHoAmxvHT41P45GW0p

#

But the webhooks section within developer, I don't see the webhook being triggered?

full heron
#

And I see that you have one webhook endpoint set up on your account, but it is not set up for that event

#

Were you looking for that event on that endpoint or are you using the CLI to test these?

scenic sentinel
#

I was just looking to see if it failed when looking for the webhook. I am building the webhook endpoint no within the same URL

#

Will test again once finished.