#Rwong

1 messages · Page 1 of 1 (latest)

round crescentBOT
sour perch
#

Hi
What are you using as an integration ?

distant bane
#

I'm using the paymentMethodService to create an Ideal Payment Method. I then use this to create a PaymentIntent with the paymentMethodId. When customer pays, the payment is charged.

#

e.g.

#

var paymentIntent = paymentIntentService.Create(new PaymentIntentCreateOptions
{
Description = request.Description,
Amount = Convert.ToInt64(request.Amount * 100),
Currency = request.Currency,
PaymentMethodTypes = new List<string> { StripePaymentMethodType.IDeal },
PaymentMethod = paymentMethod.Id,
ReturnUrl = request.SuccessUrl,
Confirm = true,
//Store PurchaseId for WebHook to retrieve purchase information
Metadata = new Dictionary<string, string> {
{ "PurchaseId", $"{request.PurchaseId}" },
{ "PaymentReferenceNumber", $"{request.PaymentReferenceNumber}"}},
});
return paymentIntent;

#

i.e. we're managing the checkout session ourselves.

sour perch
#

Thanks for sharing that part of your integration, I don't see automatic tax .... where you want to turn off the automatic tax ?

rough sigil
#

That's my questions, cos Stripe is currently deducting tax automatically on our behalf. So how do I turn this off?

sour perch
#

Can you share a PaymentIntent Id where stripe is deducting tax ?

#

and what amount you are suspecting please ?

rough sigil
#

It's not about a particular payment. This is the response we got from customer Care

#

Hi there,
Thank you for reaching Stripe. I understand that you have a question on how to disable taxes on your remittance. I will be happy to shed some light into this matter.
As I’ve checked, once you have activated Stripe Tax from the settings in your dashboard, it can’t be deactivated so to speak. However, if you no longer want to use Stripe Tax you can choose to not have it active for a charge.
To do this via the dashboard, you’ll need to ensure that you have toggled off “Calculate Tax Automatically” in any of the respective invoices or subscriptions.
If you are using the API, then you will need to make sure that you pass automatic_tax: { enabled: false } when creating a checkout session, invoice, or subscription. Once you have ensured that Automatic Tax is toggled to be off on the relevant charge, we won’t calculate the tax for you and there will be no charge for the Stripe Tax product.
I hope this would help. If you have any other questions, please feel free to reach out to us. We will be happy to help.
Best,
Richard

#

Our toggle is currently on

#

Customer care says this cannot be turned off, and we need to create a session to disable this.

sour perch
rough sigil
#

Yeah but it's suppose to be automatic, no?

sour perch
#

If you specify nothing then no tax will be calculated

rough sigil
#

So what does the toggle "Enable automatic tax calulcation" do?

sour perch
#

That's a global setting in order to enable automatic tax calculation

rough sigil
#

Can i be turn on/off anything?

#

Anytime

sour perch
#

When creating Invoice and subscription you need to disable it

#

But the code you are sharing with me it's PaymentIntent and there is no tax calculation. Unless you have a PaymentIntent Id that you think there was tax calculation...

rough sigil
#

I've only made 1 live purchase - pi_3MjKpgJspj2jbZG90pwdGpDA

sour perch
#

For that Payment there was no amount... if you are using the code you shared, there'll be no tax calculation automatically

rough sigil
#

This is the paymentId py_3MjKpgJspj2jbZG90noFfwZv

#

it's for 89 cents

#

I don't see tax either. I was just confused by response from CustomerSupport suggesting that we need to pass automatic_tax: { enabled: false } else tax will be automatically calculated.

sour perch
#

Yeah, that when using Invoice and Subscription API, and not for PaymentIntent API, which you are using

#

probably the answer you get wasn't clear enough

#

I hope now it's clear

rough sigil
#

Yes, makes more sense now, thanks for clearing that up.

sour perch
#

Welcome!