#alexkuzmov-confirmpayment
1 messages · Page 1 of 1 (latest)
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
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
Can you share your code you call to confirm the payment? Seeing no confirmation attempts on that PI
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)
Благотворителна кампания в подкрепа на Теди
Новини 26.05.22
Детето претърпя 3 операции. С 1вата се премахнаха нейните два бъбрека и се присъди този на донора.2рата се случи 30мин след първата поради моментално отхвърляне на органа и запушване на негов канал,новия бъбрек бе свързан с главна артерия,за да се предотврати повторно запушване.След сед...
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
How are you initialising Stripe.js?
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:
Please redact your live pk_ key
done
the reason why I added crossorigin="anonymous"
is to catch teh remote errors, but I still have no logs for those
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
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
My recommendation would be for you to create a test production somewhere and to write into our team at https://support.stripe.com/contact
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
We need to spend some time investigating this
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
Can you send me your Stripe account ID?
I know the email if that helps, not sure which ID
pavelandreevbg@gmail.com
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
On which line did that error throw?
Can you provide an example mobile device/browser that this is happening on?
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
I dont have the line
There must be a line in your code that is catching and logging that error though. Which is it?
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
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
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
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:
- Prapare a test environment.
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
ok, I`ll prepare that and write back to Jack
Perfect, thanks for being understanding! Hopefully we can help resolve your issue