#burton-tran_code

1 messages ¡ Page 1 of 1 (latest)

pale basinBOT
#

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

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

vague basin
#

hello! Can you share the link to your site where we can see the Element? Please share the test login credentials (if any) and steps to navigate to the page where the Element is displayed.

rocky seal
#

Currently I'm using test env.
Step to see Element:
Try to order with any item.
Then select cart -> Proceed To Checkout -> Select Credit Card Payment Method

#

Then select ApplePay to pay
-> it return error : "Could not create Apple Pay session. Please make sure you have registered this Stripe account. For more information, see https://stripe.com/docs/apple-pay#web."

Allow customers to securely make payments using Apple Pay on their iPhone, iPad, or Apple Watch.

vague basin
rocky seal
#

I registered via stripeServer.applePayDomains.create()

#

Here's result when I check if I already created:

{
  object: 'list',
  data: [
    {
      id: 'apwc_1R3uVzJdBnuODRNX9ORzbacT',
      object: 'apple_pay_domain',
      created: 1742282683,
      domain_name: 'stripe-issue-4.cloudwaitress-test.xyz',
      livemode: false
    }
  ],
  has_more: false,
  url: '/v1/apple_pay/domains'
}

vague basin
#

please go through that doc i shared, I'm referring to a different kind of domain registration.

rocky seal
#

Yes I read it before.
But my project was ran for a long time. Mean that it's works for long time.
So I have a concern that is new flow for add apple domain?

#

And you can see in my question "As I check Stripe Docs, I need to use paymentMethodDomains, which not exist in old SDK version"
For the old SDK version, is any other class same as paymentMethodDomains because my SDK version is too old one

vague basin
#

You can also add it via the Dashboard

rocky seal
#

It's impossible, cause clients have their own stripe account, which I have only their sk and pk key pair

#

Get back to previous question: if I use stripeServer.applePayDomains.create() it wouldn't help me to show Apple Pay in Stripe Element right?

vague basin
#

if I use stripeServer.applePayDomains.create() it wouldn't help me to show Apple Pay in Stripe Element right?

no, it won't help you to show Apple Pay in Stripe Element

#

you can either upgrade your SDK version, or get your users to do it via their own Dashboard

rocky seal
#

Thanks alex