#Khalid Al-Awady

1 messages · Page 1 of 1 (latest)

coarse escarpBOT
empty coyote
#

Taking a look now

digital quartz
#

thank you, if you like I could show the setup intent I have server side along with the confirm setup request on the client side

coarse escarpBOT
quartz blaze
#

Hello! I'm taking over and catching up...

#

So you've built this and you're using the 000111111116 account number, but it's not failing as expected?

digital quartz
#

Thank you for taking a look

#

Yes, what is currently happening is that when entering the 000111111116 account number it is succesfully added to the account but any future payment is denied

#

I would just like to know if it's possible to automatically reject the account number client-side

#

for example I have the following which with credit cards and using the PaymentElement it automatically fails for bad cards:

const { error, setupIntent } = await stripe.confirmSetup({
        elements,
        confirmParams: {
          return_url: 'https://appx.whenidev.net/billing/',
          payment_method_data: {
            billing_details: {
              address: stripeCustomer.billing_details.address,
              email: stripeCustomer.billingEmail(),
              name: stripeCustomer.billingName(),
              phone: stripeCustomer.billing_details.phone,
            },
          },
        },
        redirect: 'if_required',
      });
quartz blaze
#

So you're not using a Checkout Session? I'm trying to understand why you linked to the Checkout docs for this.

digital quartz
#

My mistake, I looked through the docs for anything regarding ACH and I skipped over the fact it was for a Checkout Session

quartz blaze
#

So you don't want to use Checkout?

#

Can you give me your Setup Intent ID?

digital quartz
#

sorry for the wait. Setup Intent ID => seti_1MwU1oKjI0M1O6BO9Rm66i0o

#

no, I don't want to use checkout

quartz blaze
#

Looking, hang on...

#

You set verification_method to automatic when you created that Setup Intent, but I think you want to set that to instant, right?

digital quartz
#

yeah, so far I've been playing with it. No success on automatic , instant or microdeposits

quartz blaze
#

Can you provide a Setup Intent ID with that set to instant for me to examine?

digital quartz
#

sure thing

#

seti_1MwU92KjI0M1O6BOgZ2uckuC

quartz blaze
#

Looking...

#

Ah, okay, so that test number is intended to simulate the account not existing during the payment process only, not during the setup/verification process. I don't think we have a test account number specifically for that scenario, but you can use the "Invalid Payment Accounts" option in the Payment Element to test this.

digital quartz
#

Ah, that makes sense. Then I'll pass that information along. Thank you again for the support!