Hello,
I’m trying to pass custom tip amounts from my app to Tip Fragment.
I’ve tried with:
this.paymentSettings.setTipType1("P");
this.paymentSettings.setTipType2("P");
this.paymentSettings.setTipType3("P");
this.paymentSettings.setTipAmount1(400);
this.paymentSettings.setTipAmount2(500);
this.paymentSettings.setTipAmount3(600);
this.paymentSettings.setTipPercent1(20.0);
this.paymentSettings.setTipPercent2(23.0);
this.paymentSettings.setTipPercent3(25.0);
Also tried with:
Map<UUID, Long> tipAmounts = new HashMap<>();
map.put(UUID.randomUUID(), 400l);
map.put(UUID.randomUUID(), 500l);
map.put(UUID.randomUUID(), 600l);
payment.setTipAmounts(tipAmounts);
But the tip fragment doesn’t reflect those values.
I’m not creating a custom second screen for tips I just need the new values on the tip fragment.
Do I missing something ???
Thanks