braintree amount fix

This commit is contained in:
2020-06-07 16:57:28 +03:00
parent 36c244de16
commit 20d5d69a3b

View File

@@ -905,7 +905,7 @@ public class CreateOrderSummaryFragment extends CreateOrderBaseFragment {
DialogHelper.showAlertDialog(BaseActivity.currentActivity, getString(R.string.something_went_wrong));
return;
}
String amountStringForBraintree = PriceHelper.removeCurrencyFromPrice(cartTotalList.get(cartTotalList.size() - 1).getText());
String amountStringForBraintree = PriceHelper.removeCurrencyFromPrice(createOrderActivity.getCartInfo().getCartTotalModel().getText());
PayPalRequest paypalRequest = new PayPalRequest(amountStringForBraintree)
.currencyCode("CHF");
//.intent(PayPalRequest.INTENT_AUTHORIZE);