stripe-android | Stripe Android SDK | Ecommerce library
kandi X-RAY | stripe-android Summary
kandi X-RAY | stripe-android Summary
Stripe Android SDK
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of stripe-android
stripe-android Key Features
stripe-android Examples and Code Snippets
Community Discussions
Trending Discussions on stripe-android
QUESTION
Yesterday my app was removed from Google Playstore because it was using the Stripe-Android SDK.
Here is the reason why my app was removed from Google Playstore :
We’ve identified that your app is using Stripe SDK or library, which facilitates the transmission and collection of Phone Number and Installed Application information without meeting the prominent disclosure guidelines. Make sure to also post a privacy policy in both the designated field in the Play Developer Console and from within the Play distributed app itself. If necessary, you can consult your SDK provider(s) for further information.
As on my side I do not collect any information of any kind, how could I solve this problem?
...ANSWER
Answered 2021-Nov-24 at 08:55I finally managed to solve the problem. What you have to do is:
- Update the Stripe SDK
- Upload your app update to all release tracks (production, open, closed and internal), incrementing the version number each time. Right after uploading the APK file and before resubmitting your app for review, please make sure to deactivate the non-compliant APK (*).
- Go to the Publishing overview page and click Send for review to submit your changes. (This is important. I had missed this point)
Maybe Google will ask you to add a privacy policy too. You will have to:
Post a privacy policy explaining very precisely how you collect data and what you do with it. (even if you do not collect any data)
On the play console page, go to App Content -> Privacy policy and enter the URL of your privacy policy.
Inside your app, put a link to your privacy policy. (I missed that point too)
Less than 24 hours later, my app became accessible again on Play Store.
Good to know 1 : If you've done all of these steps and your app is still offline, you can contact the Google policy support team at https://support.google.com/googleplay/android-developer/contact/emailappeals
(*) Good to know 2 : Here is where you can deactivate the non-compliant Bundle:
QUESTION
I am using the StripeSDK
, and I want to exclude the constraintlayout library that is embedded within their SDK
. How can I exclude the constraintlayout from being merged into my app? I am using a slightly older version, and upgrading is causing a visual glitch.
I tried:
...ANSWER
Answered 2021-Jun-21 at 20:31I believe the answer to this is not to exclude the group, but to force the version you want to use as described in this answer: https://stackoverflow.com/a/62278010/1076562
When Gradle encounters two different versions of the same dependency, it will perform a conflict resolution. It defaults to choosing the highest version number.
However, because many libraries like Jackson consists of a number of individual modules like
jackson-databind
andjackson-core
, you may end up in a situation where there is a mismatch between the different versions.To align them, you can use the Jackson BOM and Gradle's platform dependency mechanism. It looks like this (choose only one of the depencendies below):
QUESTION
I have integrated Google Pay payment option using Stripe Android SDK, but during payment I am getting an ERROR ALERT
Request Failed Unexpected Developer error, please try again later
And in log I am getting
...Status: DEVELOPER_ERROR, resolution = null}
ANSWER
Answered 2021-Jun-17 at 08:59It is outright absurd, to declare something as final
and then instantly try to change it again.
The most likely would be: remove all the final
keywords and it might actually send a request.
QUESTION
I have this warning in the google play console, which tells me that I have ads in the app, but I did not use any ads in my app.
Ads Let us know whether your app contains ads. This includes ads delivered by third party ad networks. Make sure this information is accurate and is kept up to date. Learn more
We found ad SDKs in your app
This is Gradle dependencies, I did not know which library uses ads dependency, How I should know?
...ANSWER
Answered 2021-May-23 at 21:06the ads dependencies come from firebase, exclude ads dependence from firebase
QUESTION
I need a Stripe Implementation for my Java Android App, but with a Server in Java, I don't know how to use node or php to implement that server-side and I found something on their docs:
https://stripe.com/docs/payments/accept-a-payment?integration=elements#android-create-payment-intent
but, the server-side is poorly explained.
All I've wrote until now is :
...ANSWER
Answered 2020-Nov-26 at 21:45This sample includes both example Android client and a Java server implementations. You should be able to clone the repository and follow the appropriate READMEs to run those examples and see how this works. Follow along with the guide and if you have more specific questions please raise those.
You will need to be able to install and build android & java to run this, of course.
QUESTION
I am currently using stripe 'com.stripe:stripe-android:15.0.1'and calling presentPaymentMethodSelection to present payment activity flow. I am using subscription service hence I need only to show-card, set a default card, and add a new card. I think for android stripe still don't have onClick stripe default source update like ios. So I am using setCustomerDefaultSource to solve the purpose.
issues 1: getting default-source = null.
2: not able to update card = receive "No such source: 'pm_*********************'"
error received on card click:
...ANSWER
Answered 2020-Aug-19 at 23:10Stripe's mobile SDK components such as PaymentSession/CustomerSession which you are using, now default to creating PaymentMethod objects (e.g. Stripe Android after v9.1.0 moved to PaymentMethod objects).
PaymentMethod objects are somewhat different from the legacy Token/Source/Card objects in that they can still be attached to a Customer but they don't automatically have a "default" concept.
Right now, you're setting a source
field on a Customer to a PaymentMethod object, which isn't supported (source
is a legacy field so it supports a Token or Source object only).
What you instead want is to use the attachPaymentMethod()
function on CustomerSession [0], to attach the PaymentMethod to the Customer.
Then server-side, when you create the Subscription, you would also pass default_payment_method: pm_123
to specify which of the attached PaymentMethod you want to create a Subscription on [1].
[1] https://stripe.com/docs/api/subscriptions/object#subscription_object-default_payment_method
QUESTION
The complete error is described as follows:
...ANSWER
Answered 2020-Apr-01 at 23:39I searched for a solution for a long time and found: It turned out there was a conflict between
'com.squareup.retrofit2: retrofit: 2.8.1'
and
'com.google.firebase: firebase-firestore:18.0.0'
.
Just remove this: 'com.google.firebase:firebase-firestore:18.0.0'
A source: https://en.programqa.com/question/58921485/
QUESTION
ANSWER
Answered 2020-Feb-29 at 22:00That TokenCallback was deprecated and removed. It was replaced with ApiResultCallback
as shown here: https://github.com/stripe/stripe-android/blob/36a5e8fcbd3aefe1be7598143d68890ed1c101c5/MIGRATING.md#migrating-from-versions--1100
For reference, this is the section of the example that uses that callback: https://github.com/stripe/stripe-android/blob/f6bbb10c1c5048818ae65fb0a968c2538a4a060f/example/src/main/java/com/stripe/example/activity/CreateCardTokenActivity.kt#L136
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install stripe-android
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page