#burton-tran_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/1351455098773045248
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
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.
Here it is: https://stripe-issue-4.cloudwaitress-test.xyz
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."
did you register the domain? https://docs.stripe.com/payments/payment-methods/pmd-registration
I don't seem to see stripe-issue-4.cloudwaitress-test.xyz registered in your account?
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'
}
please go through that doc i shared, I'm referring to a different kind of domain registration.
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
You can also add it via the Dashboard
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?
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
Thanks alex