Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
2622 Vistas

Hello team,

Hope you are doing well. I write you to summit a issue that I have with my custom payment provider. I'm building a payment provider for Dohone a cameroonian gateway who provide mobile payment. 

I have follow all the steps with my module but still have this error : The field "dohone_merchant_code" does not exist in model "payment.provider" . 

Can someone help me ? 

Project Github link : https://github.com/Davidinho241/payment_dohone 



Please I really need your support to handle that issue and finalize my project.

Avatar
Descartar
Mejor respuesta

Hi, I think it's because the module installation fails before that.

In payment_provider_data.xml, you complete the record with XMLID payment.payment_provider_dohone​ (read: the record with ID payment_provider_dohone​defined in the payment​ module) while this record doesn't exist, as the payment​ module doesn't declare it.

Instead, change the record's XMLID to either the implicit value payment_provider_dohone​ or explicit payment_dohone.payment_provider_dohone​ and add all the missing fields that the payment​ module would have initially declared.

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
ene 24
1392
1
jul 24
1394
0
jun 24
1829
2
may 24
1913
0
jul 23
1985