Skip to content

Commit

Permalink
chore: set zero parcel if payment is bazicash
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusgnreis authored Mar 1, 2024
1 parent f8ed9ff commit 78306ee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions functions/lib/integration/parsers/order-to-bling/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@ module.exports = (order, blingOrderNumber, blingStore, appData, storeId) => {
}
}

if (storeId == 51292 && order.payment_method_label === 'Bazicash') {
blingOrder.parcelas[0].parcela.vlr = 0
}

if (shippingLine) {
blingOrder.transporte = {}
if (shippingLine.app) {
Expand Down

0 comments on commit 78306ee

Please sign in to comment.