#man2310
1 messages · Page 1 of 1 (latest)
I'm also curious about whether it's possible to check if a credit card is eligible for installment payments using this library.
By installment payments, do you mean a specific PaymentMethod (ie. AfterPay....) or what exactly scenario you are thinking of?
The answer is yes you can, using Subscription Schedule https://stripe.com/docs/billing/subscriptions/subscription-schedules/use-cases#installment-plans and it works with most of the language so yes NodeJS is supported. You would want to give this whole Doc a read to get familar with the Subscription Schedule API
It looks great, because I already had the library in place, so when I added this function, there were no errors. I wonder if it's possible to check whether the user's card supports installment payments or not, or if I should create subscription schedules and if the conditions are not met, an error will be returned
I mean I'm wondering about the flow:
Should I check for support first before creating the function,
or should I just create a function and return an error if there's an issue?