#DaganChen

1 messages ยท Page 1 of 1 (latest)

pulsar swallowBOT
last folio
#

ืŸื™

#

hi

subtle elbow
#

hello! gimme a second to look

last folio
#

req_sY3vNOBMCsifMC

#

server

#

but on client I got that Payment element issue

subtle elbow
#

ah, onesec ๐Ÿ‘€

last folio
#

changing to instant made it work, but I lost the option to enter manually

subtle elbow
last folio
#

hold it

#

I can do this on server side, currect?

subtle elbow
#

what does this refer to?

last folio
#

$this->stripe->customers->verifySource(
$customerId,
$paymentTokenId,
['amounts' => [32, 45]]
);

#

what does instant means?

subtle elbow
#

the instant verification flow is where the customer walks through a hosted UI to link their bank account to us. They / you get instant feedback as to whether the bank account is verified (since the PaymentMethod is only created if it's verified) Unlike micro-deposits which you would think of as asynchronous

last folio
#

umm

#

If I use instant verification flow

#

is my clients missing bank options? or it should be possible for them to use any of us_bank_account options?

subtle elbow
#

what options are you referring to?

last folio
#

THAT IS using instant
when I don't add verification_method
I have also an option to "ENTER MANUALLY"

#

?

subtle elbow
#

if you don't add verification_method, it defaults to auto. You can test it out, if you set instant to see what shows

last folio
#

okay, meaning if I get requeries action I need to

#

create set verify

#

server verify

#

so I will get proper pm

#

if I get status : success I can go ahead and create PM

subtle elbow
#

the PM is already created

#

i'd suggest you try the flow out, it'll be easier to understand when you walk through it once

pulsar swallowBOT
last folio
#

Please look at this

#

{"id":"seti_1MmBNrFrv2nk53su18EajA4y","object":"setup_intent","cancellation_reason":null,"client_secret":"seti_1MmBNrFrv2nk53su18EajA4y_secret_NXFtDHAlXnC5Cr2XG64IiWQ5EibmAjf","created":1678952279,"description":null,"last_setup_error":null,"livemode":false,"next_action":{"type":"verify_with_microdeposits","verify_with_microdeposits":{"arrival_date":1679036400,"hosted_verification_url":"https://payments.stripe.com/microdeposit/sacs_test_YWNjdF8xSkpmcUhGcnYybms1M3N1LHNhX25vbmNlX05YR1c3WE53anJ1VFRFaXBBRlFMVTV5amdCMlFhaHo0000Cu7BfMiT","microdeposit_type":"descriptor_code"}},"payment_method":"pm_1MmBzaFrv2nk53suxZSiYTQd","payment_method_options":{"us_bank_account":{"verification_method":"automatic"}},"payment_method_types":["us_bank_account"],"status":"requires_action","usage":"off_session"}

I need to verify this one
but I dont have "BA_**"

spark pasture
#

Hi! I'm taking over my colleague. Please, give me a moment to catch up.

#

Could you please summarise the latest question?

last folio
#

yeah

#

using us_bank_account sometimes I get require action

#

when I get that

#

I need to verify source

#

verify source needs ba_ ***

#

well I dont have it

spark pasture
#

What frontend integration are you using? Payment Element?

pulsar swallowBOT
last folio
#

ื˜ืงืฉื™

#

ื˜eah

#

yes

digital pasture
#

๐Ÿ‘‹ taking over for my colleague. Let me catch up.

last folio
#

alright

digital pasture
last folio
#

sorry

#

what will happen on redirect?

#

if required it will fire me away from that reponse

#

response

digital pasture
#

I'm not sure I understand the question

last folio
#

I need to catch require action

#

on client

digital pasture
#

you don't need to, the PaymentElement will do that for you

last folio
#

but he doesn't

#

if (setupIntent) {
console.log('on setup intent');
props.callback(setupIntent);
}

#

my setupIntent callback has require_action

digital pasture
last folio
#

cancellation_reason
:
null
client_secret
:
"seti_1MmDKdFrv2nk53suJsgjlrp4_secret_NXHu8TrUlEZAZj8spM2jP4Ryddxfjnn"
created
:
1678959767
description
:
null
id
:
"seti_1MmDKdFrv2nk53suJsgjlrp4"
last_setup_error
:
null
livemode
:
false
next_action
:
{type: 'verify_with_microdeposits', verify_with_microdeposits: {โ€ฆ}}
object
:
"setup_intent"
payment_method
:
"pm_1MmDMoFrv2nk53susRPn6wTK"
payment_method_options
:
{us_bank_account: {โ€ฆ}}
payment_method_types
:
['us_bank_account']
status
:
"requires_action"
usage
:
"off_session"

digital pasture
#

did you try stripe.confirmUsBankAccountSetup("seti_1MmDKdFrv2nk53suJsgjlrp4_secret_NXHu8TrUlEZAZj8spM2jP4Ryddxfjnn") ?

last folio
#

cant call that

#

may be that one

#

yeah that one worked

digital pasture
#

yes sorry my bad