Openbravo Issue Tracking System - Retail Modules
View Issue Details
0057518Retail ModulesRetail APIpublic2024-12-20 11:302024-12-20 11:30
kchoperena 
Retail 
normalminoralways
newopen 
5
 
 
No
0057518: Web POS Payment Creation API: Include the orderId and add the description for all the fields
The event that is sending the Payment Creation is only exposing the orderDocumentNo, but sometimes the external systems works with ID

Because of that, we need to include the orderId on the API:
- Name: orderId
- Sequence: 15
- Mandatory: True
- Description: Identifier of the order to which the payment is related

Also, we need to include the description for the rest of the fields:
- orderDocumentNo: Document number of the order to which the payment is related
- name: Name of the payment method used
- rate: The exchange rate used to convert the payment amount to the financial account amount
- currency: Indicates the currency used
- paidAmount: Amount of the payment
- paymentDate: Date on which the payment is made.
Check the swagger definition: https://livebuilds.openbravo.com/context/retail_pos2_modules_pgsql/api?urls.primaryName=Business+API+-+Transactional+Data#/webhooks/WebPOSPaymentCreation [^]
No tags attached.
Issue History
2024-12-20 11:30kchoperenaNew Issue
2024-12-20 11:30kchoperenaAssigned To => Retail
2024-12-20 11:30kchoperenaTriggers an Emergency Pack => No

There are no notes attached to this issue.