Open daniel-hauser opened 2 weeks ago
@baruchiro / @eshaham / @esakal Can you please review? Thanks!
I know it sounds lazy, but I feel I need more focus to understand it (because I'm taking these reviews sometimes from my phone between things).
Can you edit the description with a "before and after" example, so the change will be thrown דוך to my eyes?
@galbarm @daniel-hauser Can you check if in your Dollar transactions there is a mistake?
I'm not paying with my Isracard on Dollars.
@daniel-hauser I"m not sure if this is ok or not
the amount is in $ but the currency is nis. this is the outcome of the test
is this what you expected?
Note that with this change for transactions whose original currency is ILS, the returned value for the original currency is now empty instead of ILS. this is intentionally?
@esakal Can you share the following values from your transaction (in the isracard website)?
{
...
"currencyId": ,
"currentPaymentCurrency": ,
...
"fullSupplierNameOutbound": ,
...
"dealSumOutbound": ,
"paymentSumOutbound": ,
...
}
Transactions in isracard has the wrong
originalCurrency
. The correct mapping of the currencies should be:Attached is an example transaction that should have
originalCurrency: "USD", chargedCurrency: "ILS"
but before the code in this PR it'soriginalCurrency: "ILS"
with nochargedCurrency
The isracard transaction object:
The israeli-bank-scrapers transaction object (diff before and after the change):