Openbravo Issue Tracking System - Retail Modules
View Issue Details
0044309Retail ModulesWeb POSpublic2020-06-08 18:232020-06-19 09:41
rafaroda 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
RR20Q3 
marvintm
No
0044309: Order Loader should allow to enter payments in inactive payment methods
Order Loader should allow to enter payments in inactive payment methods

Let's be clear: the payment method MUST be in Touchpoint > Payment Type, but can be inactive (OBPOS_APP_PAYMENT.isactive=N)

This is useful for several scenarios:
* Order entered via 3rd party seller apps, that come with some payments done which payment methods that can't be used in WebPOS
* A common case of the previous scenario is orders/tickets done in the Website, which are payment methods like Paypal for instance, must be integrated, but that payment method is not usable in WebPOS
* A different scenario can be integrating old orders from an old system with payment methods that can't be used anymore: but se should be able to integrate that orders, and to recall them from WebPOS, see related issue 0044274
1) Go the the terminal where you will integrate the external order, and in Touchpoint > Payment Type mark the payment method as active = N
2) Integrate an order via the Order Loader with some payment in the payment method previously marked as active = N, see Wiki for examples of JSON Order loader http://wiki.openbravo.com/wiki/Retail:Order_Loading_WebService#Payments [^]

Order integration will fail with message saying payment method not found.
NOR
related to defect 0044274 closed ranjith_qualiantech_com [WebPOS] Unable to open tickets with non active payment methods 
Issue History
2020-06-08 18:23rafarodaNew Issue
2020-06-08 18:23rafarodaAssigned To => Retail
2020-06-08 18:23rafarodaResolution time => 1592690400
2020-06-08 18:23rafarodaTriggers an Emergency Pack => No
2020-06-08 18:23rafarodaRelationship addedrelated to 0044274
2020-06-08 18:23rafarodaTag Attached: NOR
2020-06-11 10:50ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2020-06-19 09:05ranjith_qualiantech_comStatusnew => scheduled
2020-06-19 09:30hgbotCheckin
2020-06-19 09:30hgbotNote Added: 0120914
2020-06-19 09:30hgbotStatusscheduled => resolved
2020-06-19 09:30hgbotResolutionopen => fixed
2020-06-19 09:30hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/bb862244fb1dcc5424453eece2ff870fdb6044a1 [^]
2020-06-19 09:41marvintmReview Assigned To => marvintm
2020-06-19 09:41marvintmStatusresolved => closed
2020-06-19 09:41marvintmFixed in Version => RR20Q3

Notes
(0120914)
hgbot   
2020-06-19 09:30   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: bb862244fb1dcc5424453eece2ff870fdb6044a1
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Jun 19 12:39:10 2020 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/bb862244fb1dcc5424453eece2ff870fdb6044a1 [^]

Fixed issue-44309: Inactive Payment method should be allowed in OrderLoader

* To process order payments which is inactive from external system,
  OrderLoader should allow to process the payments

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---