Ir al contenido
Menú
Se marcó esta pregunta
3 Respuestas
728 Vistas

i'm having a problem with my website sales not being fully posted. the invoices have attached payments and payment transactions that all look correct, but they don't count as paid. amusingly, i have MOTO payments functioning just fine from a MOTO payments module from a third party (and moto enabled on stripes end), and i have 3 BBpos Wise E card terminals from stripe which are also all functioning just fine, as far as i can tell. anyway, digging into the odoo server logs reveals errors when a website transaction takes place:

File "/usr/lib/python3/dist-packages/odoo/addons/payment_stripe/models/payment_transaction.py", line 346, in _get_tx_from_notification_data raise ValidationError("Stripe: " + _("Received data with missing merchant reference")) odoo.exceptions.ValidationError: Stripe: Received data with missing merchant reference

and indeed, examining the data both in stripes console and from odoo's server logs, it looks like it's not sending any merchant metadata ( i have a " 'metadata': {}," in the logs).


digging a little deeper, in the mentioned python file, it looks like it builds the data it wants to send to stripe with _stripe_prepare_payment_intent_payload, which indeed does not include any merchant metadata.


my payments still go through, but invoices never resolve properly and get flagged as paid, and my accounting world is getting uglier by the day. does anyone have any suggestions?

edit: odoo 18, enterprise, on-premise.

Avatar
Descartar
Mejor respuesta

Hi Chelsea! Have you got any lead on this? I am facing the same issue as well. Did you get any response on your support ticket?

Avatar
Descartar
Autor Mejor respuesta

I have a support ticket in as well, I was just hoping someone knew an easy fix, or that I hadn't checked some box somewhere, and could point me in the right direction while I wait for a response to the ticket.

Avatar
Descartar
Mejor respuesta

Hi Chelsea, this is a community forum so you should rather open a support ticket at https://www.odoo.com/help to receive help about your issue :)

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
feb 25
3828
0
ene 24
1194
1
ago 23
1838
1
dic 21
3408
0
ene 21
3730