Micro deposit verfication failed ACSS DEBIT PADS (Candada)

Viewed 35

Issue: After I have confirmed the acss_debit payment, I was unable to verify micro-deposits. I was passing two micro amounts as described in the docs but an error occurred saying, "the micro amounts passed mismatched", I have tried to split my amount into two and passed the decimal, but I got a different error.

Question:Stripepayments: How can I pass micro-deposit amount in live environment, in other to verifyMicrodepositsForPayment.

Below is the screenshot of the error

 let money = grandTotal/2;
            money = Number(money.toString().split('.')[1]);
            const money1 = money - 1
            money = money + 1
         await stripe.verifyMicrodepositsForPayment(clientSecret{
            amounts: [money1, money]});
0 Answers
Related