PaymentCardDetailsForm
: AddedsetCardBackgroundStyle()
to set the background style of the form view
- Updated source and target compatibility to Java 17
- Updated target SDK version to 34
- Updated Android Studio Gradle Plugin to v8.4.2
- Updated to Gradle 8.6
- Updated to
com.stripe:stripe-android:20.53.0
- Updated to
androidx.navigation:navigation-fragment-ktx:2.8.4
- Updated to
androidx.navigation:navigation-ui-ktx:2.8.4
- Updated to
androidx.activity:activity-ktx:1.9.3
- Updated to
androidx.lifecycle:lifecycle-livedata-ktx:2.8.7
- Updated to
org.jetbrains.kotlinx:kotlinx-coroutines-android:1.9.0
- Updated to
androidx.navigation:navigation-safe-args-gradle-plugin:2.8.4
PaymentCardDetailsSingleLineView
: Fixed crash caused by callingsetTextColor
with an empty stringPaymentCardDetailsSingleLineView
: Fixed crash caused by callingsetCardBackgroundStyle
with an empty stringPaymentCardDetailsSingleLineView
: Fixed crash caused by callingsetErrorBackgroundStyle
with an empty stringPaymentCardDetailsSingleLineView
: Fixed crash caused by callingsetErrorTextColor
with an empty stringPaymentCardDetailsSingleLineView
: Fixed crash caused by callingsetCursorColor
with an empty stringPaymentCardDetailsSingleLineView
: Fixed crash caused by callingsetHintTextColor
with an empty stringPaymentCardDetailsMultiLineView
: Fixed crash caused by callingsetCardBackgroundStyle
with an empty stringPaymentCardDetailsMultiLineView
: Fixed crash caused by callingsetErrorBackgroundStyle
with an empty stringPaymentCardDetailsMultiLineView
: Fixed crash caused by callingsetTextColor
with an empty stringPaymentCardDetailsMultiLineView
: Fixed crash caused by callingsetErrorTextColor
with an empty stringPaymentCardDetailsMultiLineView
: Fixed crash caused by callingsetCursorColor
with an empty stringPaymentCardDetailsMultiLineView
: Fixed crash caused by callingsetHintTextColor
with an empty stringPaymentCardDetailsMultiLineView
: Fixed crash caused by callingsetFocusedHintTextColor
with an empty stringPaymentCardDetailsMultiLineView
: Fixed crash caused by callingsetFieldUnderlineColors
with an empty stringPaymentCardDetailsForm
: Fixed crash caused by callingsetCardBorderColor
with an empty stringPaymentCardDetailsForm
: Fixed crash caused by callingsetFieldDividerColor
with an empty stringPaymentCardDetailsForm
: Fixed crash caused by callingsetCardBackgroundColor
with an empty stringPaymentCardDetailsForm
: Fixed crash caused by callingsetErrorBackgroundStyle
with an empty stringPaymentCardDetailsForm
: Fixed crash caused by callingsetTextColor
with an empty stringPaymentCardDetailsForm
: Fixed crash caused by callingsetErrorTextColor
with an empty stringPaymentCardDetailsForm
: Fixed crash caused by callingsetCursorColor
with an empty stringPaymentCardDetailsForm
: Fixed crash caused by callingsetHintTextColor
with an empty stringPaymentCardDetailsForm
: Fixed crash caused by callingsetFocusedHintTextColor
with an empty stringPaymentCardCvvView
: Fixed crash caused by callingsetHintTextColor
with an empty stringPaymentCardCvvView
: Fixed crash caused by callingsetTextColor
with an empty stringPaymentCardCvvView
: Fixed crash caused by callingsetCursorColor
with an empty stringPaymentCardCvvView
: Fixed crash caused by callingsetErrorTextColor
with an empty stringPaymentCardCvvView
: Fixed crash caused by callingsetErrorBackgroundStyle
with an empty stringPaymentCardCvvView
: Fixed crash caused by callingsetCvvBackgroundStyle
with an empty string
PaymentCardDetailsSingleLineView
: Changed height of text input field fromwrap_content
tomatch_parent
PaymentCardDetailsMultiLineView
: Add ability to set the gravity of the built-in error messagePaymentCardDetailsForm
: Add ability to set the gravity of the built-in error messagePaymentCardCvvView
: Add ability to set the gravity of the built-in error message
- Updated to
androidx.core:core-ktx:1.13.1
- Updated to
androidx.appcompat:appcompat:1.7.0
- Updated to
androidx.activity:activity-ktx:1.9.0
- Updated to
androidx.lifecycle:lifecycle-livedata-ktx:2.8.2
- Updated to
com.google.android.material:material:1.12.0
- Updated to
org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.1
- Updated to
com.google.android.gms:play-services-wallet:19.4.0
- Updated to
com.stripe:stripe-android:20.46.0
PaymentCardDetailsSingleLineView
: Card number field correctly renders error state for unsupported card brandsPaymentCardDetailsSingleLineView
: Fixed issue with fields not applying error color changes if they are currently in an error state when the change is appliedPaymentCardDetailsMultiLineView
: Fixed incorrect tinting of card number and cvv iconsPaymentCardDetailsMultiLineView
: Fixed issue withclearFields()
incorrectly causing the cvv to be displayed instead of the card number iconPaymentCardDetailsMultiLineView
: Card number field correctly renders error state for unsupported card brandsPaymentCardDetailsMultiLineView
: Fixed issue with fields not applying error color changes if they are currently in an error state when the change is appliedPaymentCardDetailsForm
: Fixed issue withsetCardBackgroundColor()
incorrectly setting background color when the color was passed in as a stringPaymentCardDetailsForm
: Fixed issue with hint text getting set incorrectlyPaymentCardDetailsForm
: Fixed issue with fields not applying error color changes if they are currently in an error state when the change is appliedPaymentCardCvvView
: Updated hint color to use same color as other card input views
- Deprecated
SetupParameters.freshSetup
- Changed
IOloPayApiInitializer.environment
to have a public getter PaymentCardDetailsSingleLineView
: Added full support for XML stylingPaymentCardDetailsSingleLineView
: Added methods for styling text and error text using TextAppearance stylesPaymentCardDetailsSingleLineView
: Added methods for styling the error message backgroundPaymentCardDetailsSingleLineView
: AddedsetVerticalSpacing()
to control the spacing between the input field and error message labelPaymentCardDetailsSingleLineView
: AddedgetFont()
andgetErrorFont()
PaymentCardDetailsSingleLineView
: AddedconfigurationChangeListener
propertyPaymentCardDetailsMultiLineView
: Added full support for XML stylingPaymentCardDetailsMultiLineView
: Added methods for styling text and error text using TextAppearance stylesPaymentCardDetailsMultiLineView
: AddedsetFocusedHintText()
to allow for different hint text when the fields have focusPaymentCardDetailsMultiLineView
: Added methods for styling the error message backgroundPaymentCardDetailsMultiLineView
: AddedsetVerticalSpacing()
to control the spacing between the input field and error message labelPaymentCardDetailsMultiLineView
: AddedgetFont()
andgetErrorFont()
PaymentCardDetailsMultiLineView
: AddedconfigurationChangeListener
propertyPaymentCardDetailsForm
: Added full support for XML stylingPaymentCardDetailsForm
: Added methods for styling text and error text using TextAppearance stylesPaymentCardDetailsForm
: AddedsetFocusedHintText()
to allow for different hint text when the fields have focusPaymentCardDetailsForm
: Added methods for styling the error message backgroundPaymentCardDetailsForm
: AddedsetVerticalSpacing()
to control the spacing between the input field and error message labelPaymentCardDetailsForm
: AddedgetFont()
andgetErrorFont()
PaymentCardDetailsForm
: AddedconfigurationChangeListener
propertyPaymentCardCvvView
: Added full support for XML stylingPaymentCardCvvView
: Added methods for styling text and error text using TextAppearance stylesPaymentCardCvvView
: Added methods for styling the error message backgroundPaymentCardCvvView
: AddedsetVerticalSpacing()
to control the spacing between the input field and error message labelPaymentCardDetailsCvvView
: AddedgetFont()
andgetErrorFont()
PaymentCardDetailsCvvView
: AddedconfigurationChangeListener
property- Test Harness improvements: Submit CVV token to Ordering API, add button to clear focus from
PaymentCardDetailsForm
- Updated to compileSdkVersion 34
- Updated Android Studio Gradle Plugin to v8.2.2
- Updated to Kotlin v1.9.10
- Updated to Gradle v8.5
- Updated source and target compatibility from Java 1.8 to Java 11
- Updated to
com.stripe:stripe-android:20.37.1
- Updated to
androidx.core:core-ktx:1.12.0
- Updated to
androidx.navigation:navigation-fragment-ktx:2.7.7
- Updated to
androidx.navigation:navigation-ui-ktx:2.7.7
- Updated to
androidx.activity:activity-ktx:1.8.2
- Updated to
androidx.lifecycle:lifecycle-livedata-ktx:2.7.0
- Updated to
com.google.android.material:material:1.11.0
- Updated to
org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3
- Updated to
com.google.android.gms:play-services-wallet:19.3.0
- Changed ALL references of
CVC
toCVV
CardInputListener
: Changed method signature ofonFocusChange()
CardErrorType
: RemovedincorrectNumber
and merged its use case withinvalidNumber
CardErrorType
: RemovedincorrectZip
and merged its use case withinvalidZip
CardErrorType
: RemovedincorrectCVC
and merged its use case withinvalidCVV
PaymentCardDetailsSingleLineView
: Fix issue withclearFields()
method causing the following controls to have incorrect statePaymentCardDetailsMultiLineView
: Fix issue withclearFields()
method causing the following controls to have incorrect statePaymentCardDetailsForm
: Fix issue withclearFields()
method causing the following controls to have incorrect state
- Added support for CVV tokenization
- See
PaymentCardCvvView
control - See
OloPayAPI.createCvvUpdateToken()
- See
PaymentCardDetailsSingleLineView
: Improved focus change handlingPaymentCardDetailsSingleLineView
: Improved logic for displaying error messagesPaymentCardDetailsMultiLineView
: Improved focus change handlingPaymentCardDetailsMultiLineView
: Improved logic for displaying error messagesCardInputListener
: DeprecatedonFieldComplete()
CardInputListener
: AddedonValidStateChanged()
FormValidCallback
: AddedonValidStateChanged()
IPaymentMethod
: Addedenvironment
property- Test Harness Improvements: New tabbed interface for each main aspect of the Olo pay SDK: Credit Cards, Google Pay, CVV Tokenization
- Updated to
com.android.tools.build:gradle:7.4.2
GooglePayContext:
General improvements to the Google Pay flow (same public facing API)
- Added
androidx.navigation:navigation-fragment-ktx:2.6.0
- Added
androidx.navigation:navigation-ui-ktx:2.6.0
- Added
androidx.activity:activity-ktx:1.7.2
- Added
androidx.lifecycle:lifecycle-livedata-ktx:2.6.1
- Added
com.google.android.gms:play-services-wallet:19.1.0
- Added
androidx.lifecycle:lifecycle-extensions:2.2.0
- Updated minimum SDK to API 23
PaymentCardDetailsSingleLineView:
Fixed issue preventing error messages from being displayed for unsupported card brandsPaymentCardDetailsMultiLineView:
Fixed issue preventing error messages from being displayed for unsupported card brands
PaymentCardDetailsSingleLineView:
Added methods to customize the background, text and cursor colors, and fontsPaymentCardDetailsSingleLineView:
Added hint text support for all card fields (both in code and xml)PaymentCardDetailsMultiLineView:
Added methods to customize the background, text and cursor colors, and fontsPaymentCardDetailsMultiLineView:
Added hint text support for all card fields (both in code and xml)PaymentCardDetailsForm:
Added methods to customize the background, text and cursor colors, and fontsPaymentCardDetailsForm:
Added hint text support for all card fields (both in code and xml)- Added
CardBrand.Unsupported
enum type - Improved caching mechanism when switching between Test and Production environments during development
- Updated to Kotlin v1.8.0
- Updated to
androidx.core:core-ktx:1.10.1
- Updated to
androidx.appcompat:appcompat:1.6.1
- Updated to
com.google.android.material:material:1.9.0
- Updated to
com.stripe:stripe-android:20.25.5
PaymentCardDetailsSingleLineView:
RemovedpostalCodeRequired
andusZipCodeRequired
propertiesPaymentCardDetailsMultiLineView:
RemovedpostalCodeRequired
andusZipCodeRequired
properties
PaymentCardDetailsSingleLineView:
Added US and CA postal code validationPaymentCardDetailsMultiLineView:
Added US and CA postal code validation
- Updated to Kotlin v1.7.22
- Updated to
com.stripe:stripe-android:20.16.1
- Updated to
com.google.android.material:material:1.7.0
- Update compile and target SDK version to 33
- Updated to Kotlin v1.7.10
- Updated to
com.stripe:stripe-android:20.13.0
- Updated to
androidx.core:core-ktx:1.9.0
- Updated to
org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4
- Updated to
androidx.appcompat:appcompat:1.5.1
- Updated to
com.google.android.material:material:1.6.1
- Added Maven support
- Updated to
com.stripe:stripe-android:20.4.0
- Updated to
com.google.android.material:material:1.6.0
PaymentCardDetailsSingleLineView.hasErrorMessage
has been changed from a property to a methodPaymentCardDetailsMultiLineView.hasErrorMessage
has been changed from a property to a methodPaymentCardDetailsSingleLineView.errorMessage
has been replaced withgetErrorMessage()
PaymentCardDetailsMultiLineView.errorMessage
has been replaced withgetErrorMessage()
PaymentCardDetailsSingleLineView:
Fix layout refresh issue when using the SDK in a React Native app- Add missing Google Pay configuration parameters to Java Test Harness sample code
- Fix test harness compilation issues due to missing gradle scripts
- Fix code example in
ApplicationInitializer
docs
- Error message now displays for
PaymentCardDetailsSingleLineView
andPaymentCardDetailsMultiLineView
ifpaymentMethodParams
property is accessed and card details are invalid PaymentCardDetailsSingleLineView.displayErrors
can now be set in XMLPaymentCardDetailsMultiLineView.displayErrors
can now be set in XML
- Renamed
OloPay.PaymentCardDetailsMultiLineView.TextInputLayout.ErrorTextAppearance
style to"OloPay.PaymentCardDetailsMultiLineView.ErrorText.TextAppearance"
PaymentCardDetailsSingleLineView:
Improved US postal code validationPaymentCardDetailsMultiLineView:
Improved US postal code validationPaymentCardDetailsMultiLineView:
Add custom error message support
- Updated to
com.stripe:stripe-android:19.2.0
- Fixed bug preventing
ApplicationInitializer.initialize()
from being called - Fixed bug when creating input controls in code rather than inflating via XML layouts
PaymentCardDetailsSingleLineView:
AddedpostalCodeEnabled
,postalCodeRequired
, andusZipCodeRequired
propertiesPaymentCardDetailsMultiLineView:
AddedpostalCodeEnabled
,postalCodeRequired
, andusZipCodeRequired
properties- Fixed a bug that incorrectly mapped
GooglePayErrorType.DeveloperError
asGooglePayErrorType.NetworkError
and vice-versa
- Added
OloPayEnvironment
enum to support Test and Production environments (set viaSetupParameters.environment
) OloPayApiInitializer:
Added consistent error handling between java/kotlin flows- Callbacks in the
GooglePayContext
constructor are now optional and can also be set via properties - Added
IGooglePayContext.readyCallback
andIGooglePayContext.resultCallback
- Changed Compile SDK Version from 30 to 31
- Initial release