diff --git a/android/src/main/java/com/reactnativestripesdk/CardFieldView.kt b/android/src/main/java/com/reactnativestripesdk/CardFieldView.kt index 0b2fece08..2ac656f66 100644 --- a/android/src/main/java/com/reactnativestripesdk/CardFieldView.kt +++ b/android/src/main/java/com/reactnativestripesdk/CardFieldView.kt @@ -220,7 +220,7 @@ class CardFieldView(context: ThemedReactContext) : FrameLayout(context) { } fun setOnBehalfOf(onBehalfOf: String?) { - mCardWidget.setOnBehalfOf(onBehalfOf) + mCardWidget.onBehalfOf = onBehalfOf } /**