#rana-uzair_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/1432263224581165127
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hey! do give me some time to take a look at this
Could you send me your account ID for me to look into this? It should look like (acct_xxx)
sure no problem
Could you send me the website URL where Apple Pay/Google Pay is suppose to show on?
Oh the page is still not loading, it's giving me the error:
TypeError: Cannot read properties of null (reading 'payeeId')
Could you send me a screenshot of the page where i am suppose to see ApplePay/GooglePay?
Just to check, are you using Express Checkout Elements or Checkout Sessions
Express Checkout Elements
import { loadStripe } from "@stripe/stripe-js";
import { Elements } from "@stripe/react-stripe-js";
const stripePromise = loadStripe("pk_live_...");
const options = {
clientSecret: "{{CLIENT_SECRET_FROM_SERVER}}",
};
<Elements stripe={stripePromise} options={options}>
<PaymentElement />
</Elements>
I am seeing this error in my Chrome console log
IntegrationError: Missing value for Stripe(): apiKey should be a string.
have you configured your publishable key properly? I see that it says pklive... and not pk_live_...
const stripePromise = loadStripe("pk_live_...");
i am using this
Hey, i noticed that you are using
<PaymentElement/> instead of
<ExpressCheckoutElement options={options} onConfirm={onConfirm} />
soo how can i resolved my issue
You would have to change your code to use the <ExpressCheckoutElement /> rather than <PaymentElement/>
than why its working on easytipping.com ?
Could you give me the exact url and steps where i will be able to see ApplePay/GooglePay on easytipping.com?
hi! I'm taking over this thread.
hi
I have a small issue. My website has a payment method using Stripe. Apple Pay and Google Pay were working fine on easytipping.com, but my friend changed the domain from easytipping.com to app.easytipping.com. Now, Apple Pay and Google Pay are not showing.
Please tell me where the issue might be so I can check it.
on which domain ? easytipping.com or app.easytipping.com ?
the first one. let me try the second one.
I don't see it there. which Stripe account are you using for app.easytipping.com? the one you shared earlier acct_1N3G7KH3CgfJQbH9?
thanks, having a look
your code is minified, so it makes it impossible to understand what you are doing exactly. but I do see this error in the browser console:
IntegrationError: Missing value for Stripe(): apiKey should be a string.
so can you try to fix this issue? looks like you forgot to set the Stripe API key in your code.