File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
ui/src/main/java/io/snabble/sdk/ui/checkout Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 11# Changelog
22All notable changes to this project will be documented in this file.
33
4+ ## [ 0.13.7]
5+
6+ ### Fixed
7+ - Handle missing customer card id in encodedCodesIKEA
8+
49## [ 0.13.6]
510
611### Added
Original file line number Diff line number Diff line change @@ -137,9 +137,16 @@ private void displayPaymentView() {
137137 if (options != null ) {
138138 maxCodes = options .maxCodes ;
139139 }
140+
141+ String prefix = "9100003\u001d 100{qrCodeCount}" ;
142+ if (project .getCustomerCardId () != null ) {
143+ prefix += "\u001d 92" + project .getCustomerCardId ();
144+ }
145+ prefix += "\u001d 240" ;
146+
140147 displayView (new CheckoutEncodedCodesView (getContext (),
141148 new EncodedCodesOptions .Builder (project )
142- .prefix ("9100003 \u001d 100{qrCodeCount} \u001d 92" + project . getCustomerCardId () + " \u001d 240" )
149+ .prefix (prefix )
143150 .separator ("\u001d 240" )
144151 .suffix ("" )
145152 .maxCodes (maxCodes )
You can’t perform that action at this time.
0 commit comments