#sweta_code
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/1369681149017985177
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- sweta_code, 2 hours ago, 15 messages
- sweta_code, 4 hours ago, 28 messages
- sweta_code, 6 hours ago, 5 messages
- sweta_code, 1 day ago, 36 messages
This is what is happening. The popup is not being open in another window
If you open the developer console while clicking on the button, are any errors emitted?
Also do you have a live test page where I can reproduce this myself? Happy to take a look
https://my.rvlife.com/bill/signup/3?s=rvtw
you can go to this link and fill up the page and in next page there is google pay button. You can go through it
Sounds good, and did you see anything in the dev console?
I am seeing the same behavior in my Safari. Can you send me your code for what happens when the express checkout element buttons are clicked? I can try to reproduce on my test site
Server is a bit busy so I am taking a look. The thing that sticks out to me is updating the element while trying to show it specifically for google pay. If you comment that code out and test again does the behavior go away? If so, we can look into how to better update that value
yes if I comment the updating part, the popup opens
but for google pay we need to update the amount in the popup for which the code is
What can be alternative for this?
Good question, checking what we support here
And can you tell me more about why you want there to be an amount only for google pay here?
we are giving subscription for user where the user are charged for the amount. And in google pay, there is a amount field so that amount that needs to be charged need to be displayed here
you can see $0.00
if i remove that code the value is not updated!
And are you actually charging that amount upfront, or is this just a card setup where nothing is actually being charged now?
i did not get this
could you please elaborate
When that dialogue says $0, it is typically because elements is in "setup" mode, which means you are collecting the user's card details now but are not actually charging them any money right now.
So I am trying to understand whether your page is doing that, and is just collecting card details right now, or if you are actually charging them money on that page
yes first it is setup
once the user clicks confirming the card detail, then only we are charging the amount.
The google pay popup should show the amount which needs to be charged when user confirms
When will the user confirm, is that later in this process, or will they confirm and be charged some amount days after the process on this page?
it is instant once the user clicks on continue button in the google pay popup
Ah looking at your page I now see that there will sometimes be a trial and sometimes not be a trial.
What would likely make more sense to do is update the amount when the user clicks between the two plans. Set the amount to $19.99 when they choose the plan without a trial, and set it to 0 when they choose the plan with a trial. That way the amount is already set when the ECE button is clicked
even with the trial, the amount must be shown because the amount will be charged directly from stripe after completing 7 days trial
also if i have to set the amount what can i do without the click event?
?
I have to step out soon so my colleague is joining. Unfortunately it looks like we don't support that, if you have a free trial we only support showing $0 at the moment
this issue only exists in safari!
Following code is working fine in chrome
if (event.expressPaymentType === 'google_pay') {
this.updateExpressCheckoutElement({ mode: "payment", amount: Math.round(expressElementAmount ?? options.price) })
}
Hi hi! Iâm going to be taking over for my colleague here. Can you please summarize where things are at for me, and what issue(s) is/are blocking you?
I am using express checkout element for integrating stripe payment method in my application. All the payment methods were working fine previously but currently we noticed that the google pay popup is not being opened in mac safari. While checking google pay in safari ios it works and also is working in chrome. The issue is only in mac safari.
When exactly did you notice the issue? Can you share a URL where I can see the issue myself?
https://my.rvlife.com/bill/signup/3?s=rvtw
you can go to this link and fill up the page and in next page there is google pay button. You can go through it
check in safari and in google chrome
recently, not sure from when