Skip to content

Commit

Permalink
Correct mismatched resource ID (MercadoPago).
Browse files Browse the repository at this point in the history
  • Loading branch information
jmacxx committed Sep 13, 2023
1 parent c5ecb4f commit de1a71a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public static int addFormForBuyer(GridPane gridPane, int gridRow, PaymentAccount
mercadoPagoAccountPayload.getAccountHolderName());
addCompactTopLabelTextField(gridPane, gridRow, 1, Res.get("shared.country"),
CountryUtil.getNameAndCode(mercadoPagoAccountPayload.getCountryCode()));
addCompactTopLabelTextField(gridPane, ++gridRow, Res.get("payment.mercado_pago.holderId"),
addCompactTopLabelTextField(gridPane, ++gridRow, Res.get("payment.mercadoPago.holderId"),
mercadoPagoAccountPayload.getAccountHolderId());
addCompactTopLabelTextField(gridPane, gridRow, 1, Res.get("payment.mercadoPago.site"),
MercadoPagoAccount.countryToMercadoPagoSite(mercadoPagoAccountPayload.getCountryCode()));
Expand Down Expand Up @@ -85,7 +85,7 @@ public void addFormForAddAccount() {
updateFromInputs();
});

InputTextField mobileNrInputTextField = FormBuilder.addInputTextField(gridPane, ++gridRow, Res.get("payment.mercado_pago.holderId"));
InputTextField mobileNrInputTextField = FormBuilder.addInputTextField(gridPane, ++gridRow, Res.get("payment.mercadoPago.holderId"));
mobileNrInputTextField.textProperty().addListener((ov, oldValue, newValue) -> {
mercadoPagoAccount.setAccountHolderId(newValue);
updateFromInputs();
Expand Down Expand Up @@ -134,7 +134,7 @@ public void addFormForEditAccount() {
Res.get(mercadoPagoAccount.getPaymentMethod().getId()));
addCompactTopLabelTextField(gridPane, ++gridRow, Res.get("payment.account.owner"),
mercadoPagoAccount.getAccountHolderName());
addCompactTopLabelTextField(gridPane, ++gridRow, Res.get("payment.mercado_pago.holderId"),
addCompactTopLabelTextField(gridPane, ++gridRow, Res.get("payment.mercadoPago.holderId"),
mercadoPagoAccount.getAccountHolderId());
addCompactTopLabelTextField(gridPane, ++gridRow, Res.get("payment.country"),
mercadoPagoAccount.getCountry() != null ? mercadoPagoAccount.getCountry().name : "");
Expand Down

0 comments on commit de1a71a

Please sign in to comment.