#noble_gull_47737
1 messages · Page 1 of 1 (latest)
Have you looked at the developer tools in browser and analyzed the flight times of your requests? Do you know where the time is coming from?
Sorry Im learning yet but It pagespeed insights It shows that stripe It causing 5710 ms
Things like react that I dont even use
And I just added the script for stripe to work, and 6 link payment buttons on the html
so, can you remove React from your code so it doesn't get imported?
Also, what 6 buttons are you talking about specifically?
For each product
Can I show you the code or link the project?
Do you have a URL I can visit to see all the network requests?
You mean URL of the web
I have yes
Explora una impresionante colección de vestidos hermosos.
It is that one
All my stripe is on the HTML5 cause I am using link pay that makes the buttons for each product and the script to stripe to work
It shows a lot of things that my code dont have
On pc a bit better but on the phone It slows a lot
Yeah, on PC I'm seeing really low latency
They're only slightly longer on mobile too. Are you sure it's not your internet connection?
Yes im sure
I cant cache control with stripe right?
It just shows a lot slow
Tried also in local
How are you sure then? Sorry, it's just hard to understand what else might be going wrong when the network requests appear to have normal flight times on my end, but not yours
It is that normal?
Also the buy buttons on html on me appears on red in Network
It says sentry react 624 ms I dont even use react framework I dont know where the slow can come from ☹️
I saw those cancelled requests too, but chose to ignore them, since they have 0ms latency
Is the buy-button a 3rd party extension? I'm having trouble figuring out if that's a Stripe product, since I haven't seen it before.
like, what are you using to create those buttons? What is Linkpay?
Stripe link payment method
One second
<stripe-buy-button
buy-button-id="buy_btn_1O0LYAGiDFeX5sb69F9NprVQ"
publishable-key="pk_test_51O0KDfGiDFeX5sb6dRUMyUj3AzRIKWAT7kThgh2a0mE9WayN81NlggUiTBy7aOIZ9kKoDom8URXhQC6CEE7NvgW100N71oaeI1"
>
</stripe-buy-button>
It is that
ahhhhhhh, okay. this is what you're talking about: https://stripe.com/docs/payment-links/buy-button
Yes
Let me repro. Just a sec
The buttons give me a lot slow or pagespeed insights or Google lightconsole says that It gives me a lot MS
And I dont get it how since is in the HTML5 also is like almost not code at all☹️
Total blocking time goes crazy
Huh... I'm getting them too. Let me inquire internally
Yeah sorry for give u headaches and explainimg myself bad Im just noob dev😆
No worries! You found what looks to be a bug, so you're already wayyyy ahead of a lot of folks
Aww thats cool( I mean that I found the bug) so It will be fixed all I need is to wait right 😃
I'm filing a bug report with the product team, but I don't know what the ETA on a fix would be. Nonetheless, these don't appear to be affecting your flight times.
Actually, they might be affecting the flight time. If you sort the network requests in descending order, a lot of the ms you're seeing is coming from stripe.error.com, so fixing this might be the solution
It is a Big bug?
I am using It for my project anyways for my portafolio
But anyways you made my night with your words since I am self taught developer, you solved my question 👍
I'm really happy that the outcome is good on your end! Thanks for sticking it out and helping me understand
Yeah so weird but I dont mind since It is just project for portafolio but It bothers me for perfomance score but gonna wait 😃
It is so weird because when you click the buttons it instant goes to checkout
Yeah, we'll share this with out product team but yeah, the Checkout Session redirect works fine for me too.
Now the Desktop gives me Green 30ms on pagespeed insights
Mobile still red 1840 ms
Can you share the buy button id with me?
No, just one is fine
This one I shared before
<stripe-buy-button
buy-button-id="buy_btn_1O0LYAGiDFeX5sb69F9NprVQ"
publishable-key="pk_test_51O0KDfGiDFeX5sb6dRUMyUj3AzRIKWAT7kThgh2a0mE9WayN81NlggUiTBy7aOIZ9kKoDom8URXhQC6CEE7NvgW100N71oaeI1"
>
</stripe-buy-button>
You probably don't want to share the publishable key
It's fine since it's a test mode
Yeah
but wanted to give you heads up
Thank you! I'll share this with the team. Thank you for writing in about this.
To you guys
😎
Also It shows some errors on my local console
or @ buy-button-app-ef6a44fb4083eb4ef7f1406fb1be8145.js:1
i.componentDidCatch.n.callback @ buy-button-app-ef6a44fb4083eb4ef7f1406fb1be8145.js:1
Xt @ buy-button-app-ef6a44fb4083eb4ef7f1406fb1be8145.js:1
Yt @ buy-button-app-ef6a44fb4083eb4ef7f1406fb1be8145.js:1
jr @ buy-button-app-ef6a44fb4083eb4ef7f1406fb1be8145.js:1
t.unstable_runWithPriority @ buy-button-app-ef6a44fb4083eb4ef7f1406fb1be8145.js:1
At @ buy-button-app-ef6a44fb4083eb4ef7f1406fb1be8145.js:1
Lr @ buy-button-app-ef6a44fb4083eb4ef7f1406fb1be8145.js:1
Sr @ buy-button-app-ef6a44fb4083eb4ef7f1406fb1be8145.js:1
(anónimo) @ buy-button-app-ef6a44fb4083eb4ef7f1406fb1be8145.js:1
t.unstable_runWithPriority @ buy-button-app-ef6a44fb4083eb4ef7f1406fb1be8145.js:1
At @ buy-button-app-ef6a44fb4083eb4ef7f1406fb1be8145.js:1
It @ buy-button-app-ef6a44fb4083eb4ef7f1406fb1be8145.js:1
Nt @ buy-button-app-ef6a44fb4083eb4ef7f1406fb1be8145.js:1
br @ buy-button-app-ef6a44fb4083eb4ef7f1406fb1be8145.js:1
Mn @ buy-button-app-ef6a44fb4083eb4ef7f1406fb1be8145.js:1
(anónimo) @ buy-button-app-ef6a44fb4083eb4ef7f1406fb1be8145.js:1
Some are these
Thank you for sharing these.
Dont know how how copy all
But
It shows the error with something called merchant UI api stripe
No need to share all, this is good.