Openbravo Issue Tracking System - POS2
View Issue Details
0046387POS2POSpublic2021-04-28 10:252021-05-18 17:53
jcbourgeois 
gorka_gil 
normalmajoralways
closedfixed 
5
 
 
adrianromero
Gold
No
0046387: JIRA 1771 - AxisC3 : card types vs payment methods
During the testing of the pinpad with Agapes team, we discovered a potential issue with the configuration of the payment methods involved with AxisC3.
All payment methods in OB Backend are created with a custom API and we should not add new payment methods manually.

Currently in OB Backend, we need to assign a payment method type (=card type provided by Axisc3) per payment method.
But the problem is there are many payment method types that we would like to assign on a single payment method.

Example : for "credit card", there are 4 payment method types :
CB EMV Online
CB EMV Offline
CB CONTACTLESS - Online
CB CONTACTLESS - Offline

From Agapes perspective, those 4 types correspond to a single payment method (=Carte Bleue Poste) and we don't want to duplicate payment methods.

My idea would be to be able to assign several payment method types on a single payment method. Concretely, it should be interesting to have a multi select field for payment method type field.
N/A
Takeaway
depends on backport 0046707TAP closed gorka_gil JIRA 1771 - AxisC3 : card types vs payment methods 
Issue History
2021-04-28 10:25jcbourgeoisNew Issue
2021-04-28 10:25jcbourgeoisAssigned To => Retail
2021-04-28 10:25jcbourgeoisTriggers an Emergency Pack => No
2021-04-28 12:15guilleaerReview Assigned To => adrianromero
2021-04-28 12:15guilleaerOBNetwork customer => Gold
2021-04-28 12:15guilleaerResolution time => 1620770400
2021-04-28 12:16guilleaerReview Assigned Toadrianromero =>
2021-04-28 12:16guilleaerAssigned ToRetail => adrianromero
2021-04-28 13:55guilleaerTag Attached: Takeaway
2021-04-28 13:56guilleaerResolution time1620770400 =>
2021-04-29 10:26guilleaerAssigned Toadrianromero => Retail
2021-04-29 10:26guilleaerStatusnew => acknowledged
2021-05-12 14:27guilleaerStatusacknowledged => scheduled
2021-05-12 14:27guilleaerAssigned ToRetail => gorka_gil
2021-05-18 12:14gorka_gilStatusscheduled => acknowledged
2021-05-18 12:14gorka_gilStatusacknowledged => scheduled
2021-05-18 13:33hgbotResolutionopen => fixed
2021-05-18 13:33hgbotStatusscheduled => resolved
2021-05-18 13:33hgbotNote Added: 0128319
2021-05-18 17:53adrianromeroReview Assigned To => adrianromero
2021-05-18 17:53adrianromeroNote Added: 0128347
2021-05-18 17:53adrianromeroStatusresolved => closed

Notes
(0128319)
hgbot   
2021-05-18 13:33   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 692adc4a240c00eea297c3adb510dbde59a8fdfc
Author: Gorka Gil <gorka.gil@openbravo.com>
Date: 2021-05-18T13:31:00+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/692adc4a240c00eea297c3adb510dbde59a8fdfc [^]

Merge branch 'fr/paymentsSubGrouping' - Fixes ISSUE-46387

---
A src-db/database/model/tables/OBPOS2_PAYMENTGROUP_MAP.xml
A src/org/openbravo/pos2/term/PaymentTypeMappings.java
A src/org/openbravo/pos2/term/PaymentTypeMappingsProperties.java
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/AD_REFERENCE.xml
M src-db/database/sourcedata/AD_REF_TABLE.xml
M src-db/database/sourcedata/AD_TAB.xml
M src-db/database/sourcedata/AD_TABLE.xml
M web-jspack/org.openbravo.pos2/src/components/Payments/PaymentButton/PaymentButton.jsx
M web-jspack/org.openbravo.pos2/src/components/Payments/PaymentIntegration/__test__/processPayment.test.js
M web-jspack/org.openbravo.pos2/src/components/Payments/PaymentIntegration/processPayment.js
M web-jspack/org.openbravo.pos2/src/components/Payments/PaymentPanel/PaymentPanel.jsx
---
(0128347)
adrianromero   
2021-05-18 17:53   
Reviewed.