#eric_unexpected
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/1239862891968987256
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Here is an example of a request that does display Link as as payment method: req_lSix7nAH9y6qu4
That is using the exact same frontend and backend, the only difference is the Stripe account associated with the two requests
What integration option are you following ?
https://docs.stripe.com/payments/link/payment-element-link#integration-options
The second which is successful for req_lSix7nAH9y6qu4
What you mean exactly by successful? did you tried to enter the customer email in Stripe Element ?
Do you have a hosted link to your Element integration that we can check ?
@timber snow I'm taking over for my colleague. I will get back to you once you reply to my colleague's questions
Apologies I had a meeting. By successful I mean I can see the intent returning Link as a payment option and I am given this option as a customer when trying to pay
Currently we are only enabling Link on our internal test server which won't be accessible to you I'm afraid. I am happy to send across anything you might find relevant though if it helps
I'm looking into it
thanks for the info
would you mind sharing a screen recording?
No problem
So here I am creating a payment intent initially against the stripe account that displays Link and then against the one that doesn't. It's worth noting the one that successfully works is for a US based Stripe account and we are charging in dollars. Other than that though there is no difference in the way we are creating the intent or in the UI we use
The first intent created corresponds to this req id: req_7mnhWWunmos2Xd
And the second to this: req_C8tqD4Rmw6Mppt
the problem is in the difference of LINK configuration between the two accounts
Okay that's good to know. What is the issue in their configuration? I must have missed something
Can I reproduce this somewhere?
Not currently I'm afraid we want to test Link on our internal test server so this won't be live. I am happy to try and pull out anything meaningful for you. I think I just need a better understanding of the decision rules around displayhing Link and maybe some clarification on @torpid ginkgo's message. I'm curious in how the configuratoin of these accounts (when in Test mode) differ and how that is affecting displaying Link
Link is subject to a lot of treatments/experiments that determine if/when it should show, so likelihood is that differs between the two accounts you're testing on
So is this out of my hands? I have reached out to the development team about this before and was given a similar answer. If that's the case I'm happy to just leave this for now
This is the account that it's not showing on, right? acct_1KIxL1FaN5iJ7I36
Generally yes, you can request to be exempt from treatments if you prefer via https://support.stripe.com/contact/email?topic=api_integration
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Trying to confirm that is the case
How can I find the account ID, sorry. Is it visible in the dashboard or in the log calls for creating intents?
Yeah I think it's specifically disabled on your GB account
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Yes account id is: acct_1KIxL1FaN5iJ7I36
And the one it works on: acct_1NBF05Jq68BMMr0v
Yep, it's disabled currently
As I said, if you want to opt out of that and have Link on that account you can email us: https://support.stripe.com/contact/email?topic=api_integration
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
That's very helpful thanks. I was unsure why this was the case. I'll reach out around this then
No problem, glad I could help!
Whilst i have you and no problem if you'd rather I raise this as a separate ticket I am seeing some strange behaviour with account id: acct_1KIxL1FaN5iJ7I36 where despite getting a valid intent back our same UI is not recognising it properly. Again, same FE and BE integration. I don't suppose you can check if there's anything on your end that might be causing that?
This is what we see:
where despite getting a valid intent back our same UI is not recognising it properly
What does this mean exactly?
The log: req_EfCQmXT1myq5o3
So typically we retrieve our intent back and then display the PaymentElement but for this account specifically it hangs and renders a second spinner. I can investigate our side and see if there's anything amiss but just wondered if this was down to something on your end as again it is consistent on our other Stripe accounts
Hmm, no errors there. When you click that 'continue to payment' button in your UI and the modal opens, what code are you calling?
Are there any errors in your browser console?
No nothing. We get back a valid intent:
We are calling and establishing a payment intent with you which I can see in the logs and it all looks valid. We return what we need to then pass a secret to our elements
Okay that's fine. I thought I'd ask in case it was something similar
Yeah I'd guess this is some logic in your code that is failing for certain intents. Hard to say without code