#Jeremyfys
1 messages · Page 1 of 1 (latest)
@river jungle are you still around? Going to time out and archive if not
Sorry, the error was ECONNRESET every time I ran the script since it failed for the first time.
Also said socket hang out
can you say more?
1/ what Stripe server-side library are you using?
2/ looks like you're just listing/retrieving Customers?
NodeJs library versión 2020-08-XX i don't remenber what exactly versión we used.
First get users from my BD with stripeID
Second iterate array and used customer.retrieve to validare invoice_settings.defualt_payment
If value is null call paymentMethods type cards ando validate array is greater than 0 to attach default payment customer.attach
can you paste your code (No API keys, just the script you described above)
and can you paste the full error msg?
I'm not on the pc give me 20min