Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
2847 Weergaven

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
Annuleer
Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
jan. 24
1505
1
jul. 24
1491
0
jun. 24
1935
2
mei 24
2032
0
jul. 23
2076