#fladson_unexpected
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1369337599021420565
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello, are you using the Express Checkout Element or Payment Request Button when testing this?
Hey, thanks for replying. I am using the "Express Checkout Element" from stripe/react-stripe-js
Gotcha, and onShippingRateChange is just never being triggered for GPay?
It is when I change the rate itself, as expected, but it isn't being triggered after I change the address, so for our use case, it is not updating the total correctly.
For example: I have two separate rates, one free of charge and another that is $10, if I open the modal and change the rate to the free option but change the address itself, the rate option will "rollback" to the $10 option and the total is not being updated because the logic is relying on the onShippingRateChange hook.
I have a video if that helps.
For Apple Pay, this "flow" is working correctly, so I am not sure if it's something with the lib itself or not.
Gotcha, trying to reproduce this on my side
Thank you!
I am not able to reproduce this on my own site. Do you have a public test page where I can try this on yours?
Yes, but you would need to create an account to be able to access the checkout page.
https://express-checkout.artsy.net/artwork/jon-schueler-fladson-express-checkout
Just click on Purchase, after you are logged in, and it should display the express checkout buttons.
Sounds good, will see try to repro there. Can you also try on my test site and see if you see the same behavior there? https://ordinary-balanced-event.glitch.me/checkout/
Yeah, I can't reproduce it on your end. Is this code available somewhere?
Can you send your code for how your events are handled? I can see if I can reproduce with that. Unfortunately I can't log on to your site, when I try logging on via GMail I get an error about an invalid redirect, when I try to sign up with an email address correctly I get the welcome back screen but can't seem to set (or reset) an actual password for the account
I see, sorry, I need to run an errand and will get back to you later. Thanks for investigating, I will do some more debugging on my end and remove some logic to see if that's the culprit and will let you know if I find anything.
Sounds good, this thread will be closed in like 15 mins but whoever is on the server then can help pick up and investigate with what you've found with your debugging.