#pankaj-create-checkout
1 messages · Page 1 of 1 (latest)
req_8LsJj5Q01LeJox
Are you seeing that error on the frontend? Or is that what you found when you looked at your logs after the payment didn't go through?
I am seeing error in logs, the front end is visible to customer during their checkout experience. When I test it in dev mode there is no error. The customer sees this on the stripe page, one customer said she could read an erro as "This value must be greater than or equal to 1." , but I dont dont know where or how this appears
end result is customer is unable to complete checkout
Is this happening with a 100% off coupon or something else that would make the payment amount 0?
i can suspect this is happening with 100% off coupon, although this does not happen in dev, or I dont know how to reproduce in dev
because a charge did go through with a paid amount in INR, the failed attempt was with 100% coupon
But I also have example of this same coupon successfully used for INR with zero amount
I was able to reproduce in dev environment. When the 100% off coupon is applied and card 4000003560000008 is used (india card) , then user sees this error
Gotcha. Initially I feel like that is expected behavior that a payment of 0 would be rejected but that error should likely not be there. Will check in to this further
also it does not happen for USD or other CAD or other currency, I think it is an INR thing. There are some new rules by RBI for INR with require a special mandate for automatic future dated charges (subscriptions).
but the stripe docs and code examples have not updated to include this, so there is no code example of how to handle this
Good point, checking in to what that might have to do with that behavior
👋 I'm hopping in for @graceful knot since they have to head out - still looking into this