#yagnesh-p_api

1 messages ยท Page 1 of 1 (latest)

proven rockBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1418527497082900570

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

raven crater
shrewd plaza
#

req_xH6cuaEYMBzlz8

raven crater
#

Your account/platform doesn't have access to that functionality

shrewd plaza
#

Can you enable it for that account?

raven crater
shrewd plaza
#

Okay, apart from that can you please look at the case I shared, is this possible via this new checkout session.

raven crater
#

I just want to remove some product from the array when a payment method is selected.
This? What do you mean by 'payment method selected'?

shrewd plaza
#

There is card, ach, amazon pay like that. Say if user has selected the amazon pay then i have to remove a product from that checkout session like that.

raven crater
shrewd plaza
#

Can i expect this event to be added?

raven crater
#

It's feedback I'll share with the team!

#

Actually, you'll have a Payment Element mounted right?

shrewd plaza
raven crater
#

If it does, then there'll be a value[type] field with the selected PM (e.g. card) and then you could call the update function to remove the line item(s)

shrewd plaza
#

Okay I will check this.
I have also requested this beta feature, when can i expect to hear back? because without that i won't be able to check this checkout session update.

raven crater
#

The team is normally pretty prompt to action them โ€“ they're US-based

proven rockBOT
shrewd plaza
#

Okay thanks for the update.

shrewd plaza
#

hello

#

I am not able to create new thread citing there is already an open thread

#

How can i add this IRPF tax also known as form 111 which is tax but in minus.

#

i want to create this tax rate and then add this in the tax_rates while creating the checkout session

feral sun
feral sun
#

Or you want to calculate the tax dyncamically

shrewd plaza
#

So in spain there is tax called IRPF,
say the invoice is 100 euro, 18% is VAT (regulat tax) and 9% IRPF, so this becomes 100 + 18 - 9 = 109, which is i have to pay. the minus 9 is irpf

shrewd plaza
feral sun
#

Ah I see, thanks for the clarification. Stripe Tax rates doesn't support negative numbers (The percentage must be between 0 and 100.)

#

So you need to create a tax rate with the final percentage

shrewd plaza
#

but that wont be reflected in stripe, right? in the invoice or charge, i will only see the 9%(final percentage)

feral sun
#

Yes

shrewd plaza
#

Okay thanks.

feral sun
#

Happy to help!