#Shivam Kumar

1 messages · Page 1 of 1 (latest)

glossy egretBOT
stiff sigil
#

can you help me how i set hosted_verification_url and descriptor_code
then(({setupIntent, error}) => {
if (error) {
showMessage('error','Failed to add bank','{{url('account/set_message')}}');
window.location.reload();
}else if (setupIntent.next_action?.type === "verify_with_microdeposits") {
console.log(setupIntent.next_action);
stripe.verifyMicrodepositsForSetup(setupIntent.client_secret, {
descriptor_code: SMT86W,
amounts: [32, 45],
});
} else {
showMessage('success','Bank account added successfully.','{{url('account/set_message')}}');
// window.location.reload();
console.log("SetupIntent ID: " + setupIntent.id);
console.log("SetupIntent status: " + setupIntent.status);
}
});
});

worldly lagoon
stiff sigil
#

i got hosted_verification_url in next_action but how add descriptor_code for varification.

worldly lagoon
#

I don't understand the question. You don't set those values

#

You pass the test data I shared above to verifyMicrodepositsForSetup to simulate the verification scenarios

#

In a real live situation, that value would be included in the deposits made to the customer's bank

stiff sigil
#

i not get any code in response what i type here.

worldly lagoon
#

SM11AA for example