#scott_15200
1 messages · Page 1 of 1 (latest)
You mean upgrade the Stripe CLI https://stripe.com/docs/stripe-cli/upgrade
Yes, upgrade, not update I guess. I'm using a linux server and I do NOT have brew. Do I just go through the installation process like I did for the older 1.17 version?
https://stripe.com/docs/stripe-cli/upgrade#linux this is the instruction for linux
Sure thing!
ok... great. My payment links are working great. I have a ruby app that runs every hour. In that app I was running:
json = JSON.parse(stripe charges list, symbolize_names: true)
and then would INSERT the data into a database.
My question....
is running 'stripe charges list' the best command to capture who/what was purchase off my product list (of 3)?
1 subscription and 2 other items pos
I'd recommend you listening to checkout.session.completed webhook events to get notified when your customer has completed a checkout
oh sorry..... I didn't mention that I don't want to mess with web hooks
You have some difficulty in setting up webhooks?
My linux machine only logs on hourly. It is not online continuously.
I see, alternatively you can call the list event API https://stripe.com/docs/api/events/list to retrieve the recent checkout.session.completed events
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Once again,,, thank you. I'll check these links out.