#jayvir_code
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/1372912563964088342
๐ 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.
- jayvir_code, 1 day ago, 10 messages
- jayvir_code, 3 days ago, 8 messages
- jayvir_api, 3 days ago, 32 messages
- jayvir_code, 4 days ago, 47 messages
- jayvir_api, 6 days ago, 55 messages
hi link option is not loading in stripe
@native trench setup id
seti_1RPNIVLKTM2K3idyJmcTX2ja
i am using ngx-stripe
backend:
const data = {
amount: amount,
currency: 'usd',
confirm: true,
payment_method: paymentId,
metadata: metadata,
application_fee_amount: serviceFee,
transfer_data: {
destination: connectedAccountId,
},
customer: customerId,
payment_method_types: ['link', 'card'],
on_behalf_of: connectedAccountId, // โ
Ensures liability is on connected
};
let url = 'https://api.stripe.com/v1/payment_intents';
let apiCall = await axios({
method: 'post',
maxBodyLength: Infinity,
url: url,
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
Authorization: Bearer ${secretKey},
},
data: data,
});
payment_method_types: ['link', 'card'],
no i am passing link
the request you shared didn't
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 in this one Link is passed
do you have a hosted version of your site that I could test this on?
@native trench currently i am working in localhost
hmmm that doesn't give me much room to be able to troubleshoot this
can you use something like ngrok to tunnel into an accessible site?
or maybe do a reproduction on glitch or something
sure let me check what can i do
it will take some time
i will message when i am ready
https://nett.devtrack.net/tournaments/register?id=13&orgId=25
@native trench this is url
write random emails & info
select link in payment option
u can see link is not getting loaded
why are you adding your own PMT selector?
since you're using PaymentElement you can just pass all the needed PMTs and we can generate the selector for you
the error is that you're destorying the PaymentElement each time
which I don't really think it should be the right way to do it