#brandontrytn
1 messages · Page 1 of 1 (latest)
no, do I need to create one prior? my understanding from the docs is if an email doesn't have an account it will ask if you want to create one
Do you have Link activated as a Payment Method?
yes, it's enabled as part of a connect account, does the test site have link enabled?
I also believe I got an email recently stating link would be auto-enabled on all of our connect accounts
And you are looking to add Link to the Payment Element?
https://stripe.com/docs/payments/link/add-link-elements-integration
yes
some of our clients are already receiving payments via link but it does not display for me
To add Link to your Elements integration, you need to collect a customer’s email address so they can authenticate to Link
Are you using the payment element with Customers that have an email address?
yes, we pass an email address into the payment element currently
How are you creating the Payment Element?
using js
With what code?
paymentElement = elements.create('payment', {
business: {
name: window.trytnJQuery('#ShopName').val()
},
defaultValues: {
billingDetails: {
address: {
country: settings.fields.$country.val()
},
name: settings.fields.$name.val(),
email: settings.fields.$email.val(),
phone: settings.fields.$phone.val()
}
},
fields: {
billingDetails: {
address: {
country: 'never'
}
}
},
wallets: {
applePay: window.trytnJQuery('#CreatePaymentIntentResponse_ApplePayDomainsJoined').val().includes(location.hostname) ? 'auto' : 'never',
googlePay: 'auto'
}
});
paymentElement.mount('#payment-element');
Okay everthing there looks good. I'm still kind of puzzled. Can you share a payment intent ID so I can check something?
a link payment intent or one in general?
Whatever the latest one you used to instantiate the Payment Element
Hello! I'm taking over and catching up...
pi_3O34l1BmVaofdJtp3KtLRum3
Thanks for the Payment Intent ID! We're looking at it now...
As far as we can tell this should have Link available. Can you share a screenshot of the Payment Element when used with this Payment Intent? Or can you provide a link to your test site?
Hm, can't add to cart on that site. Getting this blank error:
hmm, maybe try a different product? will take a few minutes for that error to show in my logs
That worked! Hang on, looking...
Looks like there's a configuration issue with your platform account that's preventing Link from showing up. You'll need to write in to Stripe support and ask them to adjust your account so you can accept Link in the Payment Element: https://support.stripe.com/contact/email
how are we already starting to receive link payments though?
Are those coming in when your platform is not involved?
It seems like the connected account in this situation would be fine accepting Link payments on their own.
example: pi_3O0SfPJXb5tEdNBY0bBXCVtd
But not via your platform.
they're connect accounts, they're coming through our platform
It could also be that the configuration I'm looking at changed and stopped the Link payments from working.
possible, I'll write to support to see what can be done. how can I reference this thread so they have a history of what's been researched so far?
You can link to any thread on Discord: https://discord.com/channels/841573134531821608/1164682277893181541