#incredible_dragon_49363

1 messages · Page 1 of 1 (latest)

lofty windBOT
frozen beacon
#

Hi there!

#

but we want everything that comes from this webhook to be added to the tax that we have created in stripe,
I'm not sure what that means. Can you explain this in more details, maybe with a concrete example?

twilit quartz
#

Yes, for example the webhook brings an item of €100 and we want the stripe payment to add the tax that we have created of 21% VAT from Spain

frozen beacon
#

but we want everything that comes from this webhook to be added to the tax that we have created in stripe,
What does that means? Which webhook event are you listening to exactly?

twilit quartz
#

is the webhook of the learndash plugin "stripe connect"

#

that webhook does not include tax

frozen beacon
#

I mean which webhook event? Like payment_intent.succeeded or invoice.created or something else

#

Maybe you can share an example of event ID evt_xxx?

twilit quartz
#

These are the events of my webhook:
customer.subscription.deleted
invoice.payment_failed
invoice.paid
checkout.session.completed
coupon.deleted
charge.failed
payment_intent.payment_failed
payment_intent.canceled

frozen beacon
#

So for which even do you want to update the tax?

twilit quartz
#

invoice.paid

#

suppose

frozen beacon
#

Well if the invoice is already paid, then you can no longer udpate it.

twilit quartz
#

I want it for all future

#

We are still testing our website

frozen beacon
#

I want it for all future
What does that mean? Can you clarify exactly what you are trying to do?

twilit quartz
#

Yes, for example the webhook brings an item of €100 and we want the stripe payment to add the tax that we have created of 21% VAT from Spain