#fladson_unexpected

1 messages ¡ Page 1 of 1 (latest)

hidden stagBOT
#

👋 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.

frank karma
#

Hello, are you using the Express Checkout Element or Payment Request Button when testing this?

loud bough
#

Hey, thanks for replying. I am using the "Express Checkout Element" from stripe/react-stripe-js

frank karma
#

Gotcha, and onShippingRateChange is just never being triggered for GPay?

loud bough
#

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.

hidden stagBOT
loud bough
#

For Apple Pay, this "flow" is working correctly, so I am not sure if it's something with the lib itself or not.

frank karma
#

Gotcha, trying to reproduce this on my side

loud bough
#

Thank you!

frank karma
#

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?

loud bough
frank karma
loud bough
#

Yeah, I can't reproduce it on your end. Is this code available somewhere?

frank karma
#

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

loud bough
#

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.

frank karma
#

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.