#akakmmm_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/1488339461321396285
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
I have integrated Link Express into my shopping cart, but when I try to open Link Express for a particular merchant, it prompts "something went wrong". Using this publishAbleKey, I can successfully navigate to other websites, but it fails to redirect on a specific designated website. How can I troubleshoot this issue
Please remove the above image which is showing your keys
This is a public forum
Also could you elaborate how you integrated Link Express to your shopping cart? Which plugin you use to build your shopping card?
And what do you mean by using PublishableKey to navigate to other websites?
Using this key to call Link Express on our shopping cart website is normal
How do you call it exactly?
I see, so you are following this Express Checkout Elements guide? https://docs.stripe.com/elements/express-checkout-element
Yes, because other merchants and websites have no issues using Link Express, I suspect there may be content on the merchant's website that conflicts with Stripe Link
Ok can you share your Stripe Account Id? acct_xxx
这个是每个商户的,如果不分享这个可以定位这个问题吗
This is for each merchant. If you don't share this, can you locate the problem
So you are a Platform and has many Connected Account?
Can you share one Connected Account which doesn't work?
It's fine for us to use this account on our own test website, so I think the issue isn't with the account itself, but more likely with some conflict on the merchant's website
What does the error message on this page mean
We don't know yet. We need to either see the account, or open the Chrome dev console to see what error is there
Is this your Account Id or your Connected Account Id?
To be clear, are you using Connect?
Can you share a screenshot, or paste the full trace here?
No error is visible in the console
Hmm not familiar with the language. Could you clarify how do you find the error?
Could you share a screen recording (masked out sensitive info)
⛔️ Stripe developers have stepped away for a short while
Please leave your questions here, and we’ll respond as soon as we're back! If you need help urgently, you can contact Stripe support for help.
Do you have relevant front-end engineers
I found that the link express address opens normally in the window, but if I copy this address to another window, there will be problems. Is it because you have implemented idempotence processing
👋 Taking over this thread, catching up now
For the frontend/client related questions, especially for Link, we will need your website to look into the issues. Without the website, we don't have the full visibility of the behaviors of the Link at the frontend.
are you online now
Yes, I am
yes pleas log in
Sorry if I'm unclear. Could you share test login credentials, so that I can enter the checkout page?
It's throwing error
Do you other existing test login credentials that I can use to access the checkout page?
Could you please wait a moment?
Yup, sure!
try this one please
Thanks for sharing! I managed to log in, looking into it now
Feel free to delete the login credentials if needed
Have you accessed their shopping cart and noticed the "link" button
I don't see the Link option
This Link Express can support zero-cost, right
Yes, it can!
This spinner doesn't look like one from Stripe
How do you determine when to place the spinner?
Do you have a VPN for Hong Kong
Unfortunately, we don't have VPN access
I'm based in Singapore. Is it in the allowed list in your system?
I'm still seeing the spinner
There seems to be an issue with the "load link" button. Could you please investigate this as a possible cause
How do you determine the spinner to be displayed? This isn't a spinner by Stripe. Or is this spinner for different purpose?
My computer can display it. Can we do it remotely? You operate my computer
We don't do call in this channel. Are you operating on the same website with the same amount ($0)?
This loading is done by ourselves, and it is processed during the loading of links
This is the code that I found on your website:
const options = {
// 核心配置:禁用 Apple Pay 和 Google Pay 钱包
wallets: {
applePay: 'never',
googlePay: 'never',
},
emailRequired: true,
paymentMethodOrder: ['link'] // 'card'是银行卡支付
}
// const clientSecret = "pi_3S53RbP5BOFQ5nNj0Vl1kN8b_secret_ZR3wZoFRdUdQJTm6ksJbcCsfJ";
stripeAmount = amount
stripeCurrency = currency.toLowerCase()
stripeMode = amount > 0 ? 'payment' : 'setup'
stripeObject = {
mode: stripeMode,
amount: safeMultiply(amount, getPowerOfTen(Stripe_link.currencies[currency])),
currency: currency.toLowerCase(),
}
if (couponPaymentIframeObject.isSubscription === 1) {
stripeObject.setupFutureUsage = 'off_session'
}
stripeElements = stripe.elements(stripeObject);
expressCheckoutElement = stripeElements.create('expressCheckout', options);
expressCheckoutElement.mount('#express-checkout-element');
In the page I'm in, it is in setup mode, and the supported payment methods are just card and wallet payment methods (Apple Pay and Google Pay). Are you seeing Link in your $0 checkout page? I'm trying to determine whether we are at the same baseline / condition, so that I can understand where the gap is.
kijop43406@moondyal.com
kijop43406@moondyal.comA
Try logging in with this account
window.open('https://checkout.link.com/f386584e697f876c40cb0079ab67bd07dc695e2a/#eyJwYXRoIjoicGF5IiwiaW50ZWdyYXRpb25UeXBlIjoiZXhwcmVzc19jaGVja291dCIsInB1Ymxpc2hhYmxlS2V5IjoicGtfdGVzdF81MVBxOGY2UDVCT0ZRNW5OakJtekRoNE5FV3J4aUxKQUZoVGN1djBZU3RYbkVQYlNUSWxtR2dYNWsyQTZuM09hT0NJbGFEdXRzMHMwTkExUzdBdDNJMUJJQzAwd1MwRksxWUwiLCJzdHJpcGVKc0lkIjoiYTgwODQyOGItNTUxYS00NTdlLWFkNDUtMWE5Y2RkNzU3MzI4Iiwib3BlbmVkQXQiOjE3NzQ5NDM0MDMyMjEsImxpbmtTdXBwb3J0ZWRQYXltZW50TWV0aG9kcyI6WyJDQVJEIl0sImNsaWVudEF0dHJpYnV0aW9uTWV0YWRhdGEiOnsiY2xpZW50X3Nlc3Npb25faWQiOiJhODA4NDI4Yi01NTFhLTQ1N2UtYWQ0NS0xYTljZGQ3NTczMjgiLCJtZXJjaGFudF9pbnRlZ3JhdGlvbl9zb3VyY2UiOiJlbGVtZW50cyIsIm1lcmNoYW50X2ludGVncmF0aW9uX3N1YnR5cGUiOiJleHByZXNzLWNoZWNrb3V0LWVsZW1lbnQiLCJtZXJjaGFudF9pbnRlZ3JhdGlvbl92ZXJzaW9uIjoiMjAyMSIsInBheW1lbnRfaW50ZW50X2NyZWF0aW9uX2Zsb3ciOiJkZWZlcnJlZCIsInBheW1lbnRfbWV0aG9kX3NlbGVjdGlvbl9mbG93IjoiYXV0b21hdGljIiwiZWxlbWVudHNfc2Vzc2lvbl9pZCI6ImVsZW1lbnRzX3Nlc3Npb25fMWlLUkU5ck5xVHYiLCJlbGVtZW50c19zZXNzaW9uX2NvbmZpZ19pZCI6IjdiMDdjZTJjLWYyYTEtNDZlMS04YmIzLWM4OTI5ZmU1MmI2NiIsIm1lcmNoYW50X2ludGVncmF0aW9uX2FkZGl0aW9uYWxfZWxlbWVudHMiOlsiZXhwcmVzc0NoZWNrb3V0Il19fSAg','Link-6fp19yg8eg2'
,'toolbar=no,directories=no,status=no,scrollbars=no,resizable=no,copyhistory=no,height=708,width=500,top=342,left=2310')
We found an issue with the Stripe JS method on the page. After opening the window using window.open, it returns null
hi there 👋 taking over from my colleague - please allow me a few minutes to get caught up on this thread
yes I can see the issue now
in order for the Link popup to function correctly, the page's Cross-Origin-Opener-Policy must not be set to same-origin
I'd recommend setting the value for that header to same-origin-allow-popups instead
thanks,We try.
great! I checked your page's headers and I can see you have Cross-Origin-Opener-Policy=same-origin, so it's very likely that this is the reason for the issue
this is something that we've seen in the past - it causes trouble because the popup needs to communicate with the page