#alexkuzmov-confirmpayment

1 messages · Page 1 of 1 (latest)

hushed night
#

Hey there, happy to help! Can you share the ID of a Payment Intent you're having issues with?

#

Also some details on your integration

misty cosmos
#

yes, here is the payment ID: pi_3L55O6DpeBc8l5BR24WElrK0

#

ours is a standart frontend integration (backend is PHP laravel)

the only diffrerence is that we have extended logs, checks, try()catch structures and so on

#

the errors coming from stripe arent visible
I`m getting this in the logs:

[2022-05-30 10:03:36] local.ERROR: JS_ERROR[629494277f284]: [][line: 0][col: 0][Script error.]

#

it happens with some users, not all

#

and only on mobile devices

#

I have a way to track users, by tracking code, so I can provide all that we have as far as log go when the error occurs

hushed night
#

Can you share your code you call to confirm the payment? Seeing no confirmation attempts on that PI

misty cosmos
#

sure, you can find the active code here: https://pavelandreev.bg/kampanii/103/zaedno-za-tedi

and here is the code isolated (the code init + handleSubmit)

#

there is no confirmation attepts on that PI, because the stripe remote script retunrs an error

#

but I dont have visibility of the error on my side since I only get this: [2022-05-30 10:10:08] local.ERROR: JS_ERROR[629497a948a2a]: [][line: 0][col: 0][Script error.]

#

I dont have visibility on remote errors

hushed night
#

How are you initialising Stripe.js?

misty cosmos
#

I load the script: <script src="https://js.stripe.com/v3/" crossorigin="anonymous"></script>

and then when the document is finished loading I run this:

hushed night
#

Please redact your live pk_ key

misty cosmos
#

done

#

the reason why I added crossorigin="anonymous"
is to catch teh remote errors, but I still have no logs for those

hushed night
#

To confirm, the Payment Element is rendered, you can input payment details but there's an error returned when you submit?

#

I can't test the URL you linked because it's using your live keys

misty cosmos
#

I can add a key in GET params, which can switch between live and test env
but there is a high likelyhood that you want be able to reproduce, since it only happens on mobile devices, and there is no telling which ones

hushed night
#

My recommendation would be for you to create a test production somewhere and to write into our team at https://support.stripe.com/contact

#

We need to spend some time investigating this

misty cosmos
#

I`ve been doing that for a long time now, with no results

#

we`ve sent all we got to support

#

as well as a test env

#

but nothing has come of it

hushed night
#

Can you send me your Stripe account ID?

misty cosmos
#

the latest response to our ticket is:

#

Hi Pavel,

Thanks for reaching out again.

Can you put a log in your JS code and see if stripe.confirmPayment() indeed is executed when the payment button is clicked?

If stripe.confirmPayment() is executed and yet the payment is not processed, please share with me the full source code that is related to Stripe payment and I’ll help you to troubleshoot further.

Jack

#

which is exactly what I did, I can confirm 100% that the error is coming from the stripe remote script

hushed night
#

On which line did that error throw?

#

Can you provide an example mobile device/browser that this is happening on?

misty cosmos
#

I dont have the line, since the error is in the remote script, I only have: [2022-05-30 10:22:32] local.ERROR: JS_ERROR[62949a9b5a1ca]: [][line: 0][col: 0][Script error.]

The devices we`ve confirmed the problem happens are:

Xiaomi Mi note 10 lite
Google Chrome and Mi browser

Samsung s21
Google Chrome

#

I can extend the logs to include USER-AGENT and more data if that would help

hushed night
#

I dont have the line
There must be a line in your code that is catching and logging that error though. Which is it?

misty cosmos
#

its a global handler

#

I catch all errors

hushed night
#

We really need somewhere we can easily replicate this in a test environment. I'd recommend working with my colleague via the support ticket/email as that is the best course of action for issues that require deeper investigation

misty cosmos
#

is there anyway to elevate the severity of this problem?
its been more than 2 months and we`ve still had no resolutution and we need faster support on this

#

also, can I be in touch with a developer directly someway?
since I`m a developer, I can provide information and insight that would be better understood by a developer

hushed night
#

also, can I be in touch with a developer directly someway?
All the Stripe staff monitoring this channel, including me, are engineers

#

As is my colleague Jack who you've been working with via email

misty cosmos
#

ok, I`m glad go hear this
hello officially from Bulgaria
my name is Alex Kuzmov 🙂
https://www.linkedin.com/in/alexkuzmov/

so what is the fastest way that we can resolve this?
Lets write some steps down, so I can do whatever I need to do on my side

So far I have:

  1. Prapare a test environment.
hushed night
#

As I recommend, it'd be best to work with my colleague Jack via email to resolve this. They have way more context on the issue then I do

#

I'd recommend creating a test environment (test API keys) with clear reproduction steps

misty cosmos
#

ok, I`ll prepare that and write back to Jack

hushed night
#

Perfect, thanks for being understanding! Hopefully we can help resolve your issue