#akakmmm_api

1 messages · Page 1 of 1 (latest)

lucid kernelBOT
#

👋 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.

queen tendon
#

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

dreamy comet
#

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?

queen tendon
dreamy comet
#

How do you call it exactly?

dreamy comet
queen tendon
dreamy comet
#

Ok can you share your Stripe Account Id? acct_xxx

queen tendon
#

这个是每个商户的,如果不分享这个可以定位这个问题吗

#

This is for each merchant. If you don't share this, can you locate the problem

dreamy comet
#

So you are a Platform and has many Connected Account?

#

Can you share one Connected Account which doesn't work?

queen tendon
#

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

queen tendon
dreamy comet
#

We don't know yet. We need to either see the account, or open the Chrome dev console to see what error is there

queen tendon
#

acct_1RqVkjHHbbGaylJU

#

The Chrome Developer Console did not report any errors

dreamy comet
#

Is this your Account Id or your Connected Account Id?

#

To be clear, are you using Connect?

queen tendon
#

No

#

tve.reject(new Error("Link popup blocked")))

#

We found this error

dreamy comet
#

Can you share a screenshot, or paste the full trace here?

queen tendon
dreamy comet
#

Can you share the errors on Console log?

#

How did you stop in this breakpoint?

queen tendon
#

No error is visible in the console

queen tendon
#

Check these two places

dreamy comet
#

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)

lucid kernelBOT
#

⛔️ 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.

queen tendon
#

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

lucid kernelBOT
azure bridge
#

👋 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.

queen tendon
#

are you online now

azure bridge
#

Yes, I am

azure bridge
#

How do I get started? I'm prompted to log in

queen tendon
#

yes pleas log in

azure bridge
#

Sorry if I'm unclear. Could you share test login credentials, so that I can enter the checkout page?

queen tendon
#

You need to log in with your Google account

azure bridge
#

It's throwing error

#

Do you other existing test login credentials that I can use to access the checkout page?

queen tendon
#

Could you please wait a moment?

azure bridge
#

Yup, sure!

queen tendon
#

try this one please

azure bridge
#

Thanks for sharing! I managed to log in, looking into it now

#

Feel free to delete the login credentials if needed

queen tendon
#

Have you accessed their shopping cart and noticed the "link" button

azure bridge
#

I don't see the Link option

queen tendon
#

is loading

azure bridge
#

i've been on that page for more than 5 mins

#

Is this expected?

queen tendon
#

change contry please

azure bridge
#

I still don't see Link option

#

How can I check out with an amount (non-$0)?

queen tendon
#

This Link Express can support zero-cost, right

azure bridge
#

Yes, it can!

#

This spinner doesn't look like one from Stripe

#

How do you determine when to place the spinner?

queen tendon
#

Do you have a VPN for Hong Kong

azure bridge
#

Unfortunately, we don't have VPN access

#

I'm based in Singapore. Is it in the allowed list in your system?

azure bridge
#

I'm still seeing the spinner

queen tendon
#

There seems to be an issue with the "load link" button. Could you please investigate this as a possible cause

azure bridge
#

How do you determine the spinner to be displayed? This isn't a spinner by Stripe. Or is this spinner for different purpose?

queen tendon
#

My computer can display it. Can we do it remotely? You operate my computer

azure bridge
#

We don't do call in this channel. Are you operating on the same website with the same amount ($0)?

queen tendon
azure bridge
#

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.

lucid kernelBOT
queen tendon
#

Try logging in with this account

#
#

We found an issue with the Stripe JS method on the page. After opening the window using window.open, it returns null

vague igloo
#

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

#

I'd recommend setting the value for that header to same-origin-allow-popups instead

queen tendon
#

thanks,We try.

vague igloo
#

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