Skip to Content
Menu
This question has been flagged
1 Reply
2536 Views

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
Discard
Best Answer

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
Discard
Related Posts Replies Views Activity
0
Jan 24
1323
1
Jul 24
1361
0
Jun 24
1799
2
May 24
1872
0
Jul 23
1944