#.saberkhan
1 messages · Page 1 of 1 (latest)
automatic_tax is Stripe Tax, and automated approach, while Tax Rate is a manual, different API.
When you say you are using Tax Rate, which Doc or API you are actually using?
automatic_tax
optional associative array
Settings for automatic tax lookup for this session and resulting payments, invoices, and subscriptions.
Hide child parameters
automatic_tax.enabled
REQUIRED
Set to true to enable automatic taxes.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
For "Tax Rate", i am using the following link
Ok, then you follow along that Doc, below it says "Fixed tax rates" and "Dynamic tax rates" and it uses different parameters
ie.
We will use "Fixed Tax rate"
So "automatic_tax" for Checkout session should be "FALSE". Correct?
Yes, but you can omit the parameter. Its default value is false
Thank you!
Instead of "line_items.price", can I use "line_items.price_data" in Checkout session?
yes!
All right
"line_items.price_data.product_data.description", please share the maximum characters that are allowed for this field.
I am not sure! You can test it yourself btw
Try to pass as long text as you can and see what validation it triggers
ok
"line_items.tax_rates"
optional
The tax rates which apply to this line item. Is this a Boolean function? It is not clear from the documentation. Thanks!
It's an optional array
What values we can pass via this array?
That makes sense that we can pass tax rate id. Thank you again.
"consent_collection.terms_of_service", This ToS is from Stripe or from Platform?
It's yours, set up in Stripe Dashboard so Stripe will show it for you https://dashboard.stripe.com/settings/public
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Check the API reference her ehttps://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-consent_collection-terms_of_service
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
There must be a valid terms of service URL set in your Dashboard settings." Still not sure is terms and service from Stripe or from Platform. I understand that I need to add a url for ToS but still the question is who will compose the content of ToS? Is it from Stripe or from Platform. Thanks again.
ok
If we create invoice from Checkout session, will Stripe send the invoice to the recipient email address automatically?
If you use invoice_create parameter, yes
What email address Stripe will use to send the invoice?
Because I do not see any email address in invoice creation sectons in checkout session.
Stripe will use some email address with @stripe.com You can test sending and Invoice receipt in Dashboard to your email and see
I need to look test it.
String concatenation with connected account or platform account number?
Not sure, let' test it yourself
Since item is paid by the buyer so it should name as a "Receipt" not invoice. Correct?
In your case it's Invoice Receipt, so yes basically a receipt
In other case, it could be the non-paid Invoice sent to customer email
How can we send a receipt as shown in the above image? From where? Any documentation to send the receipt?
The receipt is sent automatically if your customer has an email. The button above is only for when you want to send the receipt to an addiotional email address, like manual request
So for "Receipt" and "Invoice", Stripe uses the same functionality to send invoice if it is not paid and if it is paid then receipt. Correct?
If you mean functionality = using same email address, then yes
I mean invoice creation parameters in Checkout session.
Ah, that parameter will only send the Invoice receipt. Invoice generated by Checkout Session is basically paid at the same time the customer finish on the Checkout page
Like, you will have an already paid status Invoice