#yahav-l3
1 messages · Page 1 of 1 (latest)
@odd beacon sure, what's the question?
Stripe does support passing that but your account needs special access to it
Hi, Yes I've already talked with support and the team there are working on granting me an access for this
Meanwhile I'm working on fetching the right data as required on the documentation here:
https://stripe.com/docs/level3
Regarding tax_amount and discount_amount, both of them are mandatory field but I do not have those details per item, but I do have this data for the whole order. what can I do in this case?
I think you pass 0
I see, so for any missing data I should just pass 0 \ any other default value?
it will not harm the processing?
because here I can see stripe using the tax_amount for verification
if I pass 0 tax per item, and the total tax will be something else > 0, wouldn't it be a problem?
seems like it should work fine
when you have access you can test this in test mode to confirm
Ok, one last question if I may
I am currently using the stripe ruby gem 4.5.0, is this possible to execute those api calls (with level 3 data) using this gem version?
should be yes, stripe-ruby is not tied to any particular API version or features so it would all just work
The API calls I execute (perfectly fine) now are POST
/v1/charges/ as described in this document
https://stripe.com/docs/api/charges
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.