#Arvind hariharan
1 messages · Page 1 of 1 (latest)
👋 How can I help?
Hi do we have any test payment intent ID which is associated with ACH payment method us_bank_account to be used for testing purpose?
I mean does stripe provide any test ID's for stripe ACH testing?
Yes! You may refer to the guide here: https://stripe.com/docs/payments/ach-debit/accept-a-payment?platform=web&ui=API#test-integration
Can you please point as to where cani get a test payment Intent ID?
which is already asscoiated with us_bank_account payment method
You should create the Payment Intent ID yourself and use the above test account for testing. Once the payment intent has been paid with ACH direct debit, you can't pay on the same payment intent again
the context here is i want to write unit test cases for creating payment intent, collectingbankAccountForPayment and confirm payment intent. So since collectingbankAccountForPayment is a client side call , wanted to understand how do i go about wrting this dynamically
In test account numbers https://stripe.com/docs/payments/ach-debit/accept-a-payment?platform=web&ui=API#test-account-numbers, it provides payment method ID (pm_xxx) that you can set in the payment intent to confirm the payment at server for testing purpose instead of using stripe.collectingbankAccountForPayment for confirming the payment
ok so i need to set these test account numbers while confirming the payment intent along with the payment method ?
Yup!
ok let me try that thanks