#shubham_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/1263742135199600661
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
hello! Are you following any specific guide? Can you share the link to that guide that you're referring to implement this?
sure
please can you connect on google meet to fix this issue i almot stuck from 1 month please
once i click on apply pay
it gives error
https://api.hcaptcha.com/authenticate
Request Method:
POST
Status Code:
401 Unauthorized
alex there ?
Are you using Payment Element or Checkout Session? That link that you shared isn't a guide that is used when implementing an integration flow with Stripe
To be clear, the code snippet that you shared wouldn't work.
const applePayElement = elements.create("applePay");
You can't pass in "applePay" to elements.create in that way.
Looks like you're using the Payment Element. You should just delete this entire section below, it's unnecessary
// Check for Apple Pay availability
if (window.ApplePaySession && ApplePaySession.canMakePayments()) {
const applePayElement = elements.create("applePay");
applePayElement.mount("#apple-pay-element");
}
} catch (error) {
console.error("Error initializing payment:", error);
// Handle error as needed
}
}
https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=elements#apple-pay-and-google-pay - Have you registered your payment method domain as this section mentions?
No how can registered?
the instructions are listed in the guide in that section, you'll want to go through the guide to understand how to do it. Also note the requirements mentioned in there for when Apple Pay will be displayed
can you connect please ?
what do you mean by connect?
on google meet or something when we can talk and you can see my code
no, i'm afraid not, my team doesn't do calls
I'm not sure I understand what you're trying to do here - you were originally using the Payment Element. Now it looks like you're sharing code about the Payment Request Button. Why?
sorry but i m understand how to integrate apply pay please
i lose too much money using stripe
not provided as required support
please help
To clarify, the Payment Element would support and be able to offer Apple Pay by default. If you switch to using the Payment Request Button, similarly you would need to register your payment method domain as per what I previously mentioned so that Apple Pay will show.
All of the methods that you're looking to use, require you to have some programming expertise and knowledge. If you aren't familiar with it. I recommend hiring a freelancer, or look into using one of our no-code solutions such as Payment Links to accept payments instead.