-
-
Notifications
You must be signed in to change notification settings - Fork 288
Open
Description
Hello,
on django-payments, there are a model field tax.
Is it there only as placeholder and one need to make all the calculations manually ??
more context:
total = 100
tax = 23
stripe amount_total = 100
my expectation should be able to have the price calculated using the Tax.
And, how we can pass another fields/parameters to the providers ?? more specific, stripe has:
automatic_tax[enabled] = False/True
But I didn't saw any option to pass it as optional parameter. maybe something like this for providers ?
PAYMENT_VARIANTS = {
"stripe": (
"payments.stripe.StripeProviderV3",
{
"api_key": STRIPE_PUBLIC_KEY,
"use_token": True,
"endpoint_secret": STRIPE_ENDPOINT_SECRET,
"secure_endpoint": STRIPE_SECURE_ENDPOINT,
"extra_parameters": [
automatic_tax = true,
other = example
]
},
),
}
Metadata
Metadata
Assignees
Labels
No labels