#james_35976-stripe-tax-also-webhooks

1 messages · Page 1 of 1 (latest)

earnest forgeBOT
#

Hello james_35976, we'll be with you shortly! Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
james_35976, 10 hours ago, 23 messages
james_35976, 11 hours ago, 43 messages
james_35976, 14 hours ago, 5 messages
james_35976, 21 hours ago, 7 messages
james-checkout-php, 22 hours ago, 103 messages
james_35976, 3 days ago, 18 messages

twin zodiac
#

here is the sample

sand swift
#

what address are you entering?>

twin zodiac
#

14124 los robles ct,rancho cucamonga,ca

#

it shows tax is 0

sand swift
twin zodiac
#

tax_behavior is required for the product line

#

?

sand swift
#

yes

twin zodiac
#

$newItem['price_data']['tax_behavior'] = 'exclusive';

#

still same thing. I use the UI created payment link it works ,but not api session payment

sand swift
#

still same thing. I use the UI created payment link it works ,but not api session payment
not sure what you mean by that

#

can you elaborate?

twin zodiac
#

still not charge tax , even it set the tax_behavior to exclusive

#

do I need to register tax in test mode ?

#

I just checked I have registered the tax collection in California

sand swift
#

yes

#

can you share the example request ID for PaymentLink as well as the new checkout session you created?

twin zodiac
#

cs_test_a1Qh95kfjXaydJXlPAhGnnIws6Af8WbbNvVI2pLSIyoye4wVtcvXEQIxUh

sand swift
#

where's the payment link example? where you're seeing the tax calculations correctly?

twin zodiac
#

no tax

sand swift
#

you said it works for payment link, correct?

. I use the UI created payment link it works ,but not api session payment
#1166448023023394846 message

twin zodiac
#

it shows it caculated , but no tax added

#

let me try again

#

tested on payment link , still not working

sand swift
#

Hmm, still looking

#

nothing jumping out immediately

twin zodiac
#

ok

#

maybe the tax does not work under test mode?

sand swift
#

It does, we're likely missing something minor here

twin zodiac
#

ok. please let me know which parameter is missing

sand swift
#

Asked a colleague to take a look too

earnest forgeBOT
twin zodiac
#

👍

sand swift
twin zodiac
#

one second

#

Now it works

sand swift
#

yeah I think this comes down to certain products being nontaxable in california

#

other states might have different treatment

twin zodiac
#

got it .

#

thank you for your help.

sand swift
#

NP! 🙂 sorry for the delay

twin zodiac
#

for the resller who placed order ,how can we handle the tax

#

can we require the buyer provide seller's permit here?

valid fiber
#

Can you explain more about what you're trying to do?

twin zodiac
#

some buyer purchase for resale which is tax free if they can offer a sales permit

valid fiber
#

Gotcha

twin zodiac
#

HI

#

I have 3 webhooks end points under my account

#

or all of them will receive the same noticifation ?

#

so all of them will receive the same noticifation ?

valid fiber
#

Yes, assuming they are registered for the same events

twin zodiac
#

yes.

#

That is wired..

#

is it possible to specify which link will receive the notification ?

#

send the notifaction to who created the payment link.

valid fiber
#

What do you mean?

twin zodiac
#

when I create the payment session. Is it possible to add the endpoint link which will handle the event?

valid fiber
#

If you have multiple endpoints registered for a given event type, they'll all receive the event, there is no way to "route" those

twin zodiac
#

the multiple endpoints are for different website

valid fiber
#

Why do you have multiple endpoints for the same event if you don't want the event going to all of them?

twin zodiac
#

i use this account for 3 websites

valid fiber
#

james_35976-stripe-tax-also-webhooks

#

You might want to split that into 3 accounts

twin zodiac
#

i see

earnest forgeBOT