#keval-mandalik_unexpected

1 messages ¡ Page 1 of 1 (latest)

twin sedgeBOT
#

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

sand frigate
#

hi there!

#

I'm sorry I don't understand the question. Can you maybe share screenshot of what you are seeing?

gusty lava
#

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

sand frigate
#

and what's the issue with this code/screenshot?

gusty lava
#

search bar shown in screen shot

#

is not working

#

after setting verification method to instant

sand frigate
#

what does that mean "not working"?

#

can you share a video of the issue?

gusty lava
#

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

twin sedgeBOT
silent nimbus
#

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

gusty lava
#

definetely no as it is generated by stripe only

silent nimbus
#

If you beleive not, could you please share a standalone sample project with just Stripe Component?

gusty lava
#

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

silent nimbus