#Jahanvi
1 messages · Page 1 of 1 (latest)
hello! can you elaborate more on the issue you're facing?
when I am creating customer in stripe, even if I add random postal code its accepting
But fails when I generate invoice for same customer
yes, you can add any address, but if you're later doing something that requires an accurate address(presumably like creating an Invoice needing Tax ?) you'd get an error.
is there a way to avoid this?
yes we need automatic tax on invoice
We need to restrict customer creation if postal code is invalid
if you use our products like Checkout or the AddressElement to collect the customer details then I imagine we validate this kind of thing to prevent it
when you're trying to accept a payment from the customer
We are accepting payment offline, is there a way to validate on customer creation?
Because if we get error on checkout session there is no way to collect payment for us
this is a blocker
what does that mean? accepting payment offline? When/how does the customer give you their card details?
we have this process
we collect card
then we charger bill after customer's consumption
async
so we generate bill after customer use resources.
you can use Checkout in set up mode to just collect cards without charging them