braintree amount fix
This commit is contained in:
@@ -905,7 +905,7 @@ public class CreateOrderSummaryFragment extends CreateOrderBaseFragment {
|
|||||||
DialogHelper.showAlertDialog(BaseActivity.currentActivity, getString(R.string.something_went_wrong));
|
DialogHelper.showAlertDialog(BaseActivity.currentActivity, getString(R.string.something_went_wrong));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
String amountStringForBraintree = PriceHelper.removeCurrencyFromPrice(cartTotalList.get(cartTotalList.size() - 1).getText());
|
String amountStringForBraintree = PriceHelper.removeCurrencyFromPrice(createOrderActivity.getCartInfo().getCartTotalModel().getText());
|
||||||
PayPalRequest paypalRequest = new PayPalRequest(amountStringForBraintree)
|
PayPalRequest paypalRequest = new PayPalRequest(amountStringForBraintree)
|
||||||
.currencyCode("CHF");
|
.currencyCode("CHF");
|
||||||
//.intent(PayPalRequest.INTENT_AUTHORIZE);
|
//.intent(PayPalRequest.INTENT_AUTHORIZE);
|
||||||
|
|||||||
Reference in New Issue
Block a user