Comments (9)
The version string you need is "3.5.0", which is stored in com.stripe.android.net.StripeApiHandler.VERSION. I'll make that field public in an update in a few hours.
If you update your version of stripe-android to 2.0.2, you should have access to StripeApiHandler.VERSION
from stripe-android.
Hello @mrmcduff-stripe ,
StripeApiHandler.VERSION was removed in aef3434. Are there any other ways of getting it now? Using com.stripe.android.BuildConfig.VERSION_NAME
?
Could you please also update the documentation(https://stripe.com/docs/mobile/android#collecting-payment-information-through-android-pay) with this change?
Thanks,
Ethan
from stripe-android.
BuildConfig.VERSION_NAME is exactly what that field is looking for -- I removed StripeApiHandler.VERSION so that we didn't have a manual field to (possibly forget to) update with each release, since it was tracking the API bindings. Didn't realize we were still telling people to use it in the documentation.
Thanks for pointing out the missed update in the documentation! Fixing now.
from stripe-android.
@esong -- the site should be updated in about an hour, depending on how long our deploy server feels like taking. Thanks again for pointing out the error!
from stripe-android.
@markwong-stripe No problem, thank you for the quick update.
from stripe-android.
Hello,
When use google pay, I build PaymentMethodTokenizationParameters where add parameters "stripe:version". Early I take them from StripeApiHandler.VERSION. In example(https://stripe.com/docs/mobile/android/google-pay) such value using "2018-11-08". Where I can get the "stripe:version"? How is it formed?
Thanks.
from stripe-android.
Hello,
When use google pay, I build PaymentMethodTokenizationParameters where add parameters "stripe:version". Early I take them from StripeApiHandler.VERSION. In example(https://stripe.com/docs/mobile/android/google-pay) such value using "2018-11-08". Where I can get the "stripe:version"? How is it formed?
Thanks.
Hello,
You can use
CustomerSession.initCustomerSession(context!!) { apiVersion, keyUpdateListener ->
// apiVersion
}
from stripe-android.
com.stripe.android.BuildConfig.VERSION_NAME has been removed in latest version... What to use now ?
It was there in 16.0.1 but gone in 16.1.1...
Ok - I can find it here as well: Stripe.VERSION_NAME
from stripe-android.
@slott out of curiosity, how are you using this value?
from stripe-android.
Related Issues (20)
- [BUG] No static method ModalBottomSheetLayout-BzaUkTc HOT 1
- [BUG] HOT 1
- [Feature] Add existingPaymentMethodRequired configuration in PaymentSheet.GooglePayConfiguration
- [BUG] secure payment open for a sec and closed without user interaction HOT 8
- [Feature] Add support for payment method custom order in PaymentSheet HOT 1
- [BUG] The use of rememberPaymentSheet in jetpack compose Generate Thousands of recompositions in all the view HOT 3
- [BUG] Cursor color not updated with PaymentSheet.Appearance HOT 2
- [Feature] Add PaymentMethod object on PaymentOptionCallback HOT 4
- [Feature] compose desktop support
- [BUG] Margin between Label and Edit text HOT 2
- [Feature] Compose Native Views
- [BUG] Impossible to clone stripe-android GitHub repository on Windows HOT 2
- [BUG] Duplicate class org.tensorflow.lite HOT 3
- [BUG] Next Field isn't automatically focused in CardMultilineWidget
- [BUG] Duplicate class com.sumsub.sns:idensic-mobile-sdk HOT 2
- [BUG] Missing proguard/R8 rules when using `payments-core` only HOT 2
- Support PayNow method Android HOT 1
- Greek Localization Issue - Payment Sheet Not Displaying in Greek for Most Users HOT 1
- [BUG] Shipping Dagger code/dependencies
- [Feature] Customer sheet - only add card
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stripe-android.