-
Notifications
You must be signed in to change notification settings - Fork 658
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mi Note - 7s Android app not redirecting back to app after completing a PaymentIntent Stripe #3952
Comments
Thanks for writing in, and I am sorry to hear you are having problems, we will try to help. In 16.10.0 a return_url should not be required.
|
Hi,
I used stripe in gradle.
implementation 'com.stripe:stripe-android:16.10.0'
I used this method to open payment sheet:
paymentSheet.presentWithPaymentIntent(
paymentIntentClientSecret,
new PaymentSheet.Configuration(
"Example, Inc.",
new PaymentSheet.CustomerConfiguration(
customerId,
ephemeralKeySecret
),
new PaymentSheet.GooglePayConfiguration(
PaymentSheet.GooglePayConfiguration.Environment.Production,
"IN")
)
);
Issue: once payment is complete. ReturnToMerchant button is showing in
browser. when i click this button , its not redirect to app.
I have attached payment page source code.
*Kirubakaran , Senior Android Developer*
*Hitasoft Technology Solutions Pvt. Ltd.,*
thoughts sync with action
6/1 Karthick Center,
Kamala First Street,
China Chokikulam,
Madurai - 625002,
Tamil Nadu, India
Phone: 0452-4220611
…On Tue, Jul 6, 2021 at 4:51 PM michelleb-stripe ***@***.***> wrote:
Thanks for writing in, and I am sorry to hear you are having problems, we
will try to help.
In 16.10.0 a return_url should not be required.
1. Can you describe a little more of which api you are using in the
SDK? Are you using this one?
fun confirmPayment(
activity: ComponentActivity,
confirmPaymentIntentParams: ConfirmPaymentIntentParams,
stripeAccountId: String? = this.stripeAccountId
)
1. What behavior are you seeing? You can take a video of a connected
device or emulator by:
a. Open Android Studio.
b. Click on View -> Tool Windows -> Logcat
c. In the left most side of the logcat window pane are some vertical
icons, under the restart and settings icon is a camera and video. Pressing
either of these will allow you to take a screenshot or video of the issue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3952 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKNWJ7TYOFEUHXC34276UMLTWLRL5ANCNFSM472T43XQ>
.
|
You can remove the video now if you want to restrict access to the data. I appreciate the extra information, it is really helpful. I will take a look at it and get back to you. |
Hi ,
this issue happened only in some devices( vivo y31, Mi note 7s), other
devices is working fine.
Note: when i redirect to chrome or uc browser , it is working, but when i redirect to inbuild vivo browser or Mi note7s browser issue will occur.
Thanks.
*Kirubakaran , Senior Android Developer*
*Hitasoft Technology Solutions Pvt. Ltd.,*
thoughts sync with action
6/1 Karthick Center,
Kamala First Street,
China Chokikulam,
Madurai - 625002,
Tamil Nadu, India
Phone: 0452-4220611
…On Tue, Jul 6, 2021 at 6:39 PM michelleb-stripe ***@***.***> wrote:
You can remove the video now if you want to restrict access to the data. I
appreciate the extra information, it is really helpful. I will take a look
at it and get back to you.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3952 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKNWJ7XPEQ6NUDLRWDX6V23TWL6APANCNFSM472T43XQ>
.
|
Hi @kirubakaranHTS , we use Chrome Custom Tab to to open a url by default, on some devices where this is not available, we fallback to WebView, which is less secure. The inconsistency you see is due to some devices doesn't have Chrome Custom Tab available. We will have a change in the next week to fix the returnUrl issue on both browsers, will update there once it's released. |
Hi @kirubakaranHTS, the change mentioned by @ccen-stripe is included in release v17.0.0. Can you please update your dependency and report back if you still see the issue? |
Hi,
Thanks for your cooperation.
I have updated my dependency implementation
'com.stripe:stripe-android:17.0.0' in my gradle & I checked still this
issue is happened in live mode(Live card Test).
but when I check in test mode, external browser is not opened & issue not
happened.
I mentioned issue in below video link
https://www.dropbox.com/s/imcfy65h4p9y956/freepostissyes.mp4?dl=0
Thanks.
*Kirubakaran , Senior Android Developer*
*Hitasoft Technology Solutions Pvt. Ltd.,*
thoughts sync with action
6/1 Karthick Center,
Kamala First Street,
China Chokikulam,
Madurai - 625002,
Tamil Nadu, India
Phone: 0452-4220611
…On Wed, Jul 21, 2021 at 1:18 PM Bruno R. Nunes ***@***.***> wrote:
Hi @kirubakaranHTS <https://github.com/kirubakaranHTS>, the change
mentioned by @ccen-stripe <https://github.com/ccen-stripe> is included in
release v17.0.0
<https://github.com/stripe/stripe-android/releases/tag/v17.0.0>. Can you
please update your dependency and report back if you still see the issue?
Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3952 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKNWJ7TJH6Z5G46STEZ7TYTTYZ3TTANCNFSM472T43XQ>
.
|
We have experienced same behavior. The button is not triggering any redirect. |
@maciej-wichrowski and @kirubakaranHTS We are releasing version 17.1.0 which has a fix to make the redirect work on Firefox. I hope this also makes it work on the Mi Note Browser. If you are still having issues after updating to 17.1.0, please let us know. |
Hi,
Thanks for your response. I will check and update you soon.
Thanks.
*Kirubakaran , Senior Android Developer*
*Hitasoft Technology Solutions Pvt. Ltd.,*
thoughts sync with action
6/1 Karthick Center,
Kamala First Street,
China Chokikulam,
Madurai - 625002,
Tamil Nadu, India
Phone: 0452-4220611
…On Wed, Jul 28, 2021 at 5:19 AM michelleb-stripe ***@***.***> wrote:
@maciej-wichrowski <https://github.com/maciej-wichrowski> and
@kirubakaranHTS <https://github.com/kirubakaranHTS> We are releasing
version 17.1.0 which has a fix to make the redirect work on Firefox. I hope
this also makes it work on the Mi Note Browser.
If you are still having issues after updating to 17.1.0, please let us
know.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3952 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKNWJ7QF3LY56PMKPXHBRWDTZ5AXFANCNFSM472T43XQ>
.
|
Hi,
we updated to 17.1.0 in gradle & checked this issue. In Redmi Note 7s, when
enter card details , it is stuck & it is not going forward after enter card
details .
It is showing processing in Pay button. In all devices(except Redmi
note7s) it is working correctly.
Thanks.
*Kirubakaran , Senior Android Developer*
*Hitasoft Technology Solutions Pvt. Ltd.,*
thoughts sync with action
6/1 Karthick Center,
Kamala First Street,
China Chokikulam,
Madurai - 625002,
Tamil Nadu, India
Phone: 0452-4220611
On Wed, Jul 28, 2021 at 1:38 PM Kirubakaran Jeyakannu <
***@***.***> wrote:
… Hi,
Thanks for your response. I will check and update you soon.
Thanks.
*Kirubakaran , Senior Android Developer*
*Hitasoft Technology Solutions Pvt. Ltd.,*
thoughts sync with action
6/1 Karthick Center,
Kamala First Street,
China Chokikulam,
Madurai - 625002,
Tamil Nadu, India
Phone: 0452-4220611
On Wed, Jul 28, 2021 at 5:19 AM michelleb-stripe ***@***.***>
wrote:
> @maciej-wichrowski <https://github.com/maciej-wichrowski> and
> @kirubakaranHTS <https://github.com/kirubakaranHTS> We are releasing
> version 17.1.0 which has a fix to make the redirect work on Firefox. I hope
> this also makes it work on the Mi Note Browser.
>
> If you are still having issues after updating to 17.1.0, please let us
> know.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#3952 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AKNWJ7QF3LY56PMKPXHBRWDTZ5AXFANCNFSM472T43XQ>
> .
>
|
@kirubakaranHTS Does this accurately describe what you are seeing:
If this is the case there is a fix in 17.1.0 that should fix it. 17.1.0 should be out later today. |
Hi,
I faced issue following scenarios:
*Enter card details
*then click pay button . pay button is showing as processing. it does not
redirected to Otp page
*this issue happend only in Redmi note 7s so this is my issue in V17.1.0
Thanks
*Kirubakaran , Senior Android Developer*
*Hitasoft Technology Solutions Pvt. Ltd.,*
thoughts sync with action
6/1 Karthick Center,
Kamala First Street,
China Chokikulam,
Madurai - 625002,
Tamil Nadu, India
Phone: 0452-4220611
…On Wed, Jul 28, 2021 at 7:58 PM michelleb-stripe ***@***.***> wrote:
@kirubakaranHTS <https://github.com/kirubakaranHTS> Does this accurately
describe what you are seeing:
1. Enter card details
2. Press pay
3. Redirected to a browser to do confirmation
4. Confirm authentication in the browser
5. See the PaymentSheet again, and the buy button is showing
processing forever and never dismisses?
If this is the case there is a fix in 17.1.0 that should fix it. 17.0.1
should be out later today.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3952 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKNWJ7VSOHJ2VHIGSW4YRCTT2AHZTANCNFSM472T43XQ>
.
|
@michelleb-stripe We have an issue that user is entering the correct card then finishing 3dsecure and no data is passed to onActivityResult |
@maciej-wichrowski Could you share some information about your setup as well?
|
@maciej-wichrowski Please reopen the issue if we can help you any further. |
Summary
I integrated stripe payment in my project .
Android app not redirecting back to app after completing a PaymentIntent Stripe in Only Mi Note 7s device.
To solve this issue,we need to use return_url in PaymentIntent. but I don't know how to implement return_url
Code to reproduce
Android version
we used SdkVersion - 30
Impacted devices
Mi Note 7s, vivo V2036.
Installation method
I implemented in gradle file. like below
implementation 'com.stripe:stripe-android:16.10.0'
Dependency Versions
stripe-android:16.10.0
Gradle:distributionUrl=https://services.gradle.org/distributions/gradle-6.7.1-bin.zip
Other information
The text was updated successfully, but these errors were encountered: