Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
2848 Vizualizări

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.

Imagine profil
Abandonează
Cel mai bun răspuns

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.

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
ian. 24
1506
1
iul. 24
1491
0
iun. 24
1935
2
mai 24
2032
0
iul. 23
2077