#dizzydizz1101_api
1 messages · Page 1 of 1 (latest)
👋 Welcome to your new thread!
⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1263838619823640659
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
hi there!
Hi Soma 👋
if it is somehow possible to grab the invoice id and somhow use the same invoice send it via payment link to the customer and tell them to transfer the money manually.
I'm not sure I understand the payment flow here. can you describe it step by step? something like:
step 1. I send a payment link to the user
step 2. they pay with sepa
step 3. ...
Sure
s
- The customers start a subscription and add a bank account for SEPA in our App
- In stripe the customer is created and subscription is started
- After the first month stripe creates an invoice sends the avis to the customer that the money is taken by SEPA in 4 Days
- Stripe tries to get the money via SEPA from the bank account, and if it succeds everything is okay
- But sometimes in Stripe it shows the invoice is payed, but then the customer flags it within their bank and the SEPA fails, we get charged 3,50 and the charge.dispute.closed is triggered by stripe
6 The carge.dispute.closed then triggers a webhook in our system which blocks the customer and shows him a payment failed screen
- The problem is now that there is already a invoice in stripe which is marked as payed even that we did not get the money
- We unfortunately manually download the invoice and mail it to the customer with our direct bank data an tell him he needs to transfer the money manually
- The customer transfers mostly the money and we manually unlock his account again
So we want to automate the steps 7-9 somehow, but having trouble to somehow updte the invoice in meta-data and send him a link where he can use bank transfer for example to transfer the money manually... cause the sepa failed
hope this makes now more sense for you ?
i could also send you an du_id or invoice id of one of the cases if this helps you
That makes sense. Why not create a one-off invoice within Stripe for them to pay?
what do you mean by one-off?
the thing is in germany the i would need to cancel the old invoice, to be aligned with the requirements of the tax office..
but when i try to cancel, it allways wants to transfer the money back to the customer which is double stupid for us, cause we did not recieve any money, payed the penalty for the sepa fail and then stripe wants to refund the money to the customer so on one side we did not recieve money and even reward them for not paying by giving them the amout of the invoice back
So how are you canceling the existing invoice when this problem arises now?
I need to do it manually in our accounting system with a hint, that stripe is not able to cancel it so i download it, print it, write canceled on it with a pen and upload it to our accounting system
and then at the end of the month need to manually sum app all cancelations which where not transfered from the customer to register it within the tax office.. which is a tremendous pain.
i also told this now 10 times to the stipe support on the website, but it seems like no one cares
🤣
the german taxoffice told me that if the cancelation process is not possible, stripe will not be a valid legally compliant systeem for german companies. which i also told stripe support. but still no real interesst in this problem
They require cancellation of the invoice even if it's a disputed transaction?
Thats the problem, the invoice itself is marked as payed in stripe.. only the payment then is marked as disputed
And it's a legal requirement to have invoices shown as cancelled in Germany if they're disputed?
the point is when i send it to the customers manually and they pay it, it does not matter cause they name the invoice number in the bank transaction.
but when we never recieve the money from the customer we have a as payed marked invoice in Stripe the tax office wants the tax for.. so we are no tax experts, but our taxconsultant told us that we need to do it like this
that we then cancel the invoice manually to show them we did not get the money
Yeah I mean i'm not tax expert either. We just answer questions about the Stripe API in here
i know but if the stripe api is not compliant with the stuff our german tax consultant wants, where is the place to go? Support on the website was also not able to solve this problem
anyways, we would already be happy to find a way to automatically send them a invoice they pay manually then,
Support on the website was also not able to solve this problem
What did they say exactly? Did you push to have them escalate the ticket?
so you suggest we create a completly new invoice on the charge.dispuse.closed for the customer with the same amount of the old invoice and add a var in the metadata to then get it via webhook whenever the customer payed correct?
Yeah that's what I was going to suggest by one-off invoice
I did asked them to pleas give us any solution, cause it seems to be a very specific problem of sepa payments cause they are first marked as payed and later the bank takes the money back. i guess with all the other payment mentods this can not happen. or maybe less frequent
this was over 1,5 years ago and i think 6 months ago or somenthing like this i asked again, but still now news unfortunately
i mean so far we do it manually, but now when i want to do your one-off suggestion which i kind of like, i need to cancel the old open invoice somehow if i see it correct. cause they dont need to pay it anymore. correct? or do i see this wrong
i need to cancel the old open invoice somehow if i see it correct. cause they dont need to pay it anymore. correct? or do i see this wrong
Idk what the German laws are here, so I can't answer on what you need to do legally. However, if this invoice is marked paid as you said, there's no way to cancel it via the api. Or does this Invoice have an open status?
"Stornorechung" which is kind of canceling the faild invoice gives you then onyl the two options "Kundensalod gutschreiben" which means transfering the money back to the custoer via stripe or "Guthaben außerhalb von Stripe" which means i gave the customer the money cash
Can you send the invoice id?
i did quickly switch it to englisch for you
as you see in the payment it says dispute lost, but in the infoice it says paid in red
sure invoice id in_1PbOezAgeNa2VITfh32pXwos
And there is the point our tax consultant complains cause he said the laws for a payment / accounting system in german is that the invoice numbers always rise and that you need to cancel every not longer used inoice if it was wrong or you want to do a new one.. so that in the system the cancelation invoice also has the fitting "rising" invoice number which would be the next invoice
Yeah I can't speak to what the German laws are, but there's no way to cancel a paid invoice with the Stripe API AFAIK
i mean the api would not be a instant need, but only the option at the select how to credit where it says "did not recieve money, cancel without payemt" or something like this
That's not an option because the invoice was paid first, then disputed
Customer just retained the money
You can't cancel an invoice marked paid unfortunately
Anyways you guys at stripe do a fantastic job and stripe in general is amazing, feels like i am ungrateful with all the stuff i am writing.. whats not the case... just a problem for a long time alreday 😉
but i think you see my/our problem correct?
Yeah if you indeed did receive the proper advice from your accountant and that is indeed the law, I do see the problem
I just am not an expert in that area
The only thing I can suggest is to be firm with support and push to get your ticket escalated
Because we only are devs in here that answer questions about the api
When the question touches tax law, it's a bit out of our depth here
I am more than happy to do a zoom call to show someone who is resposible the problem and compare it to our other accounting invoice system which is "GoBD" certified which is kind of a thing in germany for financal apps
show them side by side how they handle the cancelation process and what is our problem in the sepa case
within stripe
Generally support doesn't do video calls unless you have premium support I think
But you can send them a video of the problem
But main thing is just a really descriptive email and being firm that you need the problem escalated
okay so i write this to the support chat/email on the dashboard website?
do you know if they can then open a loom video link cause the video will be quite big
Yeah support through https://support.stripe.com/contact
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
I wouldn't make a super long video
Recommend just writing a descriptive email
And insisting that you need the problem escalated
Okay. so i write like, i did mention this one 1,5 years ago and 6 months ago, this should be escaleted?
Same to you!