#marimuthu_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/1336314027487399956
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
What is not working exactly ? Do you see any error trace? in the devconsole ? in the networking tab ?
Nope I dont see any error in console or in network, its not loading
Empty screen loads
Actutlly its in my local
Or have you had the chance to first implement the Express Checkout Element in a standalone page ?
https://docs.stripe.com/elements/express-checkout-element/accept-a-payment
Not yet deployed
Between, in your local you won't see Google/apple Pay because you'll need to serve it via https.
Ho okay, Previously we were using https://docs.stripe.com/elements/appearance-api, it works in local
const paymentElement = __this.elements.create("payment", options);
Previously we have used payment
Ok you mean Payment Element
Sorry but the link you've shared is about appearance.
Never mind.
You should be able to have at link with Express checkout Element locally:
<https://docs.stripe.com/elements/express-checkout-element/accept-a-payment
Thats my bad. Sorry
Np!
What about this ?
In your code you should have:
const expressCheckoutElement = elements.create('expressCheckout');
and not elements.create('payment');
You want to have Express Checkout Element or PaymentElemen in your web page ?
Yes I want to have both payments and Express checkout,
In the same page ?
yes
You shouldn't be doing that, why you want to do so ?
What is offered by Express Checkou Element is already provided in Payment Element
But in Payment Element apple pay and google is not showing
They'll be shown if you server your website via HTTPS
Here is my website which is having payment element
Also, you'll need to have valid card in your Google/Apple Wallet in order to have this options
It shows Google Pay
You are not getting the Google Pay option because probably you don't have a valid card in your Wallet
For Apple Pay, besides adding a real Card in your wallet you need to register your domain
Is this from my web page?
Where are you based @final mason?
Am in india
Okay, Google Pay and Apple Pay are not supported in India, which is why you don't see it.
We have asked my client who is in US, but they also not able to see it
If we dint register domain then how it came for u?
This might be a mix of both - location and presence of real card in the wallet.
Domain registration is required for Apple Pay only
I only see card in Safari - no Apple Pay
So Google Pay will show automcatically?
If by "automatically" you mean without registering the domain, then yes.
You still need to be outside of India, and set up your wallet correctly.
It won't work for you since you're based in India. You won't see Google Pay anyway, unfortunately.
But I wil ask my client to test
Thats wht asjing
asking
wallet = In stripe dashboad, Default I can see the wallet option this what are you reffering?
Here is my wallet section
@stone dock @eager hollow
Not exactly.
You need to register your real credit card with Google Pay and Apple Pay. This happens outside of Stripe.
Got it. But how my browser will know I have gpay or google pay.
Sorry I just wanna some clarity before informing my client.
Applogies If I asks more silly or irriating questions