Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2894 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 1 24
1572
1
thg 7 24
1542
0
thg 6 24
1967
2
thg 5 24
2087
0
thg 7 23
2140