#keval-mandalik_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/1364913723638026320
đ 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.
- keval-mandalik_code, 1 day ago, 17 messages
hi there!
I'm sorry I don't understand the question. Can you maybe share screenshot of what you are seeing?
const handleStripeAddBankMethodOpt = async (client_payment_secret: string) => {
const stripe:any = await loadStripe(process.env.NEXT_PUBLIC_STRIPE_KEY!);
stripe.collectBankAccountForSetup({
clientSecret: client_payment_secret,
params: {
payment_method_type: 'us_bank_account',
payment_method_data: {
billing_details: {
name: selectedOrg?.name,
email: selectedOrg?.businessEmail, // selected org business name/email
},
},
},
expand: ['payment_method'],
})
.then(({setupIntent, error}: {setupIntent: any, error: any}) => {
if (error) {
console.error(error.message);
showToast.error('Error', error.message);
} else if (setupIntent.status === 'requires_payment_method') {
console.log(setupIntent);
showToast.error('Error', 'Something went wrong. Please try other payment method.');
onModelClose('Close');
} else if (setupIntent.status === 'requires_confirmation') {
console.log(setupIntent);
confirmationModal.onOpenChange();
}
});
}
this is code i am using on frontend side
and what's the issue with this code/screenshot?
search bar shown in screen shot
is not working
after setting verification method to instant
I am not able to click it or not albe to type anything
sharing video in 2 min
check this video not able to focus on that input box
@sand frigate
Hey! Taking over for my colleague. Let me catch up.
It seems like you have somthing in your UI blocking you from clicking on the model
definetely no as it is generated by stripe only
If you beleive not, could you please share a standalone sample project with just Stripe Component?
const handleStripeAddBankMethodOpt = async (client_payment_secret: string) => {
const stripe:any = await loadStripe(process.env.NEXT_PUBLIC_STRIPE_KEY!);
stripe.collectBankAccountForSetup({
clientSecret: client_payment_secret,
params: {
payment_method_type: 'us_bank_account',
payment_method_data: {
billing_details: {
name: selectedOrg?.name,
email: selectedOrg?.businessEmail, // selected org business name/email
},
},
},
expand: ['payment_method'],
})
.then(({setupIntent, error}: {setupIntent: any, error: any}) => {
if (error) {
console.error(error.message);
showToast.error('Error', error.message);
} else if (setupIntent.status === 'requires_payment_method') {
console.log(setupIntent);
showToast.error('Error', 'Something went wrong. Please try other payment method.');
onModelClose('Close');
} else if (setupIntent.status === 'requires_confirmation') {
console.log(setupIntent);
confirmationModal.onOpenChange();
}
});
}
it getting generated by this code
i have not created it by my self
You need to ask your developer or whom setted this for you.