#subin_error

1 messages · Page 1 of 1 (latest)

red harnessBOT
#

👋 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/1344926060193517578

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

sand sierra
#

there is several Invalid API Key provided error.
the api key passed is correct.

fallow imp
#

hello! what are you trying to do here? More specifically, what's the API request that you're trying to make here?

sand sierra
#

iam using oAuth.

#

the error encounter on apayment request

#

access token passed in the paymnet request is correct. i checked log which are write the access token upon new access token get from stripe.

#

Also the app is not uninstalled from the stripe

#

and also the token not expired.,

#

there is no entry in stripe about the error.
Invalid API Key provided error is seen in the checkout page.

#

why this error occurs?

#

the account id is acct_1L7n7MAWY6fDkVHB

#

are you there?

fallow imp
#

yep, I'm here, gimme a while, I'm looking into this

sand sierra
#

ok

#

also i have another problem
https://crepchiefnotify.com/ this is my client site. in this apple pay not displying.
iam using stripe express element for this.
client said that domain is added.
pricing-> select a product, then you get redirected to checkout page.
google pay is visible.

tired kraken
#

Hi @sand sierra are you able to use the same access token to create other Stripe objects? For example creating a customer?

sand sierra
#

iam not tried this

tired kraken
#

Can you try it?

sand sierra
#

no this my client site currently i dont have the access to site

#

iam working on webtoffe stripe plugin support.

tired kraken
sand sierra
#

no i checked it

tired kraken
#

You can create a GET request with the access token to verify if it's still valid.

sand sierra
#

i log the response while a new token get.

#

and i sent request after 50 minutes.

tired kraken
#

Can you try the following

  1. Create a GET request to verify the access token is still valid
  2. Create a POST request to create a paymentIntent and see if it still gives you the invalid api key error
sand sierra
#

error expireenced during the creation of payment intent

#

i try the first step

fallow imp
#

https://crepchiefnotify.com/ this is my client site. in this apple pay not displying.

if you’re testing from India, Google Pay and Apple Pay are unavailable for merchants and customers in India, so you won’t be able to see Apple Pay or Google Pay: https://support.stripe.com/questions/supported-payment-methods-currencies-and-businesses-for-stripe-accounts-in-india

If you can share the steps and test login credentials for navigating to where you expect Apple Pay to be displayed, we can help take a look to see if it's displaying

sand sierra
#

currently google pay is visible.

#

iam using expresselement

#

site url https://crepchiefnotify.com/
you can click pricing in navigation bar.
there you can add membership.
you will be redirected to checkout page there at the bottom you can see the appleapy button.

#

if you go through the screenrecoreding you can see google pay in it.
but applepay not geting dispalyed

fallow imp
#

okay, taking a look to see why Apple Pay is not being displayed

#

Since you're a platform making requests on behalf of the connected account, you'll need to register the domain using the method outlined in the section I linked above. Keep in mind that a domain registered by the platform won't appear on the Dashboard, so the screenshot you shared isn't applicable in this case.

#

I'm deleting the screenshot you shared since this is a public channel

sand sierra
#

but other customer site the button get displyed .

#

they also added the domain from stripe dashboard

fallow imp
#

what does other customer site mean in this case? Other platforms have registered their domain in the manner I mentioned above for the Apple Pay button to display

sand sierra
#

i am working on stripe plugin support.

other customers are using apple pay.
they don't have any issue.
there are added the doamin from the dashboard

#

i added in webtoffee configuration.
it set by the platform.

fallow imp
#

Can you try adding the domain using the method I mentioned first and we can check if Apple Pay is now displayed?

#

nvm, one sec, i may have found something

#
<script id="eh_payment_request-js-extra">
    var eh_payment_request_params = {
        "key": "pk_live_....",
        "gpay_enabled": "yes",
        "apple_pay_enabled": "no",
...
        ```
sand sierra
#

the proble is you said we nedd to add domain via above method.
https://docs.stripe.com/payments/payment-methods/pmd-registration?dashboard-or-api=dashboard#register-your-domain-while-using-connect:~:text=click Enable.-,Register your domain while using Connect,-Connect platforms must

but other client dispalying apple pay button with out doing so.

how it work like this.

And also in stripe dashboard offer a way to do so.
on the screenshot you can see the webtoffee configyration added by the stripe app.
and in it there is option to set apple pay.
if those not working why do you providing such options?

Register and verify domains to use payment methods (including Link, Apple Pay, and Google Pay) in Elements or Checkout's embeddable payment form.

fallow imp
#

in your own code, you're setting apple_pay_enabled": "no"

#

can you fix that

sand sierra
#

i will update you