#koks_api
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/1389803062822043719
📝 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.
- koks_api, 12 hours ago, 10 messages
Can you double check you are using the same Stripe account with the one you registered domain?
Do you use Connect?
How to validate it?
I use Salesforce for front end and stripe for payment. I need to enable applePay option for my customer
Can you share the domain id you created, and the account id on which you are using its PublishableKey in frontend?
I have these 2 domains created for salesforce
pk_test_51RQtiRPJyrrClAxyjtfBjNn4E3Ka1T9zlWMjgXtr843azaoXn29JNReio3fmqKcO2AFAIhlXVcFnPB49bMAjbZGw008Nlmy8Hk
pmd_1Rg4IqB0Vyyemuv2nV79yySX
pmd_1Rg4I5B0Vyyemuv2dpuJEMrM
my bad, I had mapped domain to incorrect account id
i had fixed it now
Glad to hear!
Still mount is not happening
coming blank in Salesforce affter executing js code which i had mentioned
This js code "const expressCheckoutElement = elements.create("expressCheckout", {
emailRequired: true
});" returns below value. Is this correct?
hmm can’t tell. Is this not mounting issue completely different with ApplePay?
what could be the issue here if not mounting. Can you help here?
Did you have this issue before?
working first time on this...so new to me
alright so you do have an expressCheckoutElements
Can you listen to the ready event? Did you have any browser console error when mounting?
Invalid mounting
expressCheckoutElement.mount(a);"
What is the "a" variable here?
i had used it to validate if querySelector fetches any html tags hence used div tag for a
this is the lateset code i had used
Sorry you have the JS debugger, and can put breakpoints into each line of code, so it would be easier if you inspect the cardElement there, checking if it actually points to your desired HTML element
So that's the issue of the selector