Skip to content

Commit fc62b78

Browse files
committed
fix visa credit card input
1 parent 1d0ac51 commit fc62b78

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# Changelog
22
All notable changes to this project will be documented in this file.
33

4+
## [0.37.2]
5+
6+
### Fixed
7+
- Fix VISA credit card input not opening
8+
49
## [0.37.1]
510

611
### Fixed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ allprojects {
3131
}
3232

3333
project.ext {
34-
sdkVersion='0.37.1'
34+
sdkVersion='0.37.2'
3535
versionCode=1
3636

3737
compileSdkVersion=30

ui/src/main/java/io/snabble/sdk/ui/payment/PaymentInputViewHelper.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ object PaymentInputViewHelper {
2727
val activity = UIUtils.getHostFragmentActivity(context)
2828
val args = Bundle()
2929
when (paymentMethod) {
30-
PaymentMethod.VISA -> if (useDatatrans) {
30+
PaymentMethod.VISA -> {
3131
args.putString(CreditCardInputView.ARG_PROJECT_ID, projectId)
3232
args.putSerializable(CreditCardInputView.ARG_PAYMENT_TYPE, PaymentMethod.VISA)
3333
callback.execute(SnabbleUI.Action.SHOW_CREDIT_CARD_INPUT, args)

0 commit comments

Comments
 (0)