#Mindaugas_K
1 messages · Page 1 of 1 (latest)
Can you share an example pi_xxx?
pi_3MWzgbBVfuMTCR401lk5Lqnt - a blocked payment intent on prod. Would like to simulate something similar on dev environment as well
I see it results in that 402 response that I can actually catch, but I'm not sure how to get such a response without running my code on prod :/
Not sure if there's any ACH test data to simulate a blocked payment like that, but you can use the card data here (https://stripe.com/docs/testing#fraud-prevention) which will result in the same error
Ah, that's a bummer :/ Cards are going through correctly and this issue is observed only with ACH
Well, yeah if you're using blocked banking credentials. You'd only get the same error if you attempted a payment with a blocked card
Okay, anyways, will test those creds and come back with results if it hit my handling code
@hazy surge Tried out 4100000000000019 , but got error.code "card_declined" and error.type: "card_error". I guess after all there are no test creds for a "bank_account_unusable" error ?
Hmm, checking here: https://stripe.com/docs/payments/ach-debit#testing
pm_usBankAccount_riskLevelHighest may work:
The payment has a risk level of “highest”
Radar might block this payment, depending on your settings.
Otherwise, afraid not