#rana-uzair_code

1 messages ¡ Page 1 of 1 (latest)

west egretBOT
#

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

sonic veldt
#

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)

glad flax
#

sure , give me sec

#

acct_1N3G7KH3CgfJQbH9

#

this one ?

sonic veldt
#

yup!

#

Do give me some time to look into it

glad flax
#

sure no problem

sonic veldt
#

Could you send me the website URL where Apple Pay/Google Pay is suppose to show on?

glad flax
sonic veldt
#

Oh i am getting an error trying to access the page

glad flax
#

sorry my mistake

sonic veldt
#

Oh the page is still not loading, it's giving me the error:

TypeError: Cannot read properties of null (reading 'payeeId')

glad flax
#

40962032

#

you should add payee by clicking tip as guest

#

than add payeeid

sonic veldt
#

Could you send me a screenshot of the page where i am suppose to see ApplePay/GooglePay?

glad flax
sonic veldt
#

Just to check, are you using Express Checkout Elements or Checkout Sessions

glad flax
#

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>

sonic veldt
#

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

glad flax
#

const stripePromise = loadStripe("pk_live_...");
i am using this

sonic veldt
#

Apologies if i wasnt clear, the prefix should be pk_live

glad flax
#

i checked this , and my api key prefix is fine

#

Discord replaces the Underscore

sonic veldt
glad flax
#

soo how can i resolved my issue

sonic veldt
#

You would have to change your code to use the <ExpressCheckoutElement /> rather than <PaymentElement/>

glad flax
sonic veldt
#

Could you give me the exact url and steps where i will be able to see ApplePay/GooglePay on easytipping.com?

west egretBOT
glad flax
#

40962032

pseudo narwhal
#

hi! I'm taking over this thread.

glad flax
#

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.

pseudo narwhal
#

I do see Google Pay and it seem to work here:

#

you don't see Google Pay there?

glad flax
pseudo narwhal
#

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?

glad flax
#

yes

#

this one

pseudo narwhal
#

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.