No video

Level Up Your workflow with the Stripe CLI

  Рет қаралды 3,291

Stripe Developers

Stripe Developers

Күн бұрын

Developer Advocate Cecil Phillip walks through how he uses the Stripe CLI, including his favorite workflow features.
Presenter
Cecil Phillip - Developer Advocate
Table of contents
00:00 Introduction
00:16 Getting started
01:24 Working with Stripe objects
04:44 Listening for events
07:20 Downloading sample applications
09:02 Exploring the Stripe Shell
10:57 Conclusion
Resources
Documentation: docs.stripe.com/stripe-cli
Stripe CLI on GitHub: github.com/stripe/stripe-cli
Stripe API Reference : docs.stripe.com/api
Support
If you have a question, please feel free to reach out to our support team on Discord at stripe.com/go/developer-chat
Updates
Sign up to stay updated with developer news: go.stripe.global/dev-digest
Feedback
If you have any feedback about this or other episodes, let us know: forms.gle/VjNqzRhotM2snYo88
#stripe #payments #stripeCLI #stripeAPI #onlinepayments

Пікірлер: 13
@remccs16
@remccs16 Ай бұрын
This is a fantastic demo, thank you!
@StripeDev
@StripeDev Ай бұрын
We're so glad you liked it! 🙂
@johnborron1059
@johnborron1059 2 ай бұрын
Thank you sir! Just started using Stripe in a project and this information has been incredibly helpful. Will have to experiment with some of the tools illustrated but this video has been a great overview to kick off from. Much appreciated!
@blackblather
@blackblather 2 ай бұрын
The CLI is helpful for working with webhooks. Previously I configured the webhook endpoint on the stripe website directly, but that meant i had to do some port-forwarding on my router. Plus, moving to another network was a pain too. Would require all that port forwarding config again. As I saw in the video, with the CLI can simply point to localhost. Will check it out for sure. Thanks
@StripeDev
@StripeDev 3 ай бұрын
Hey Ryan-great question! Currently, the Stripe Checkout API does not provide a direct option to restrict shipping to specific states. Keep in mind that you also can't do additional validation during the actual Checkout-the only way is to ask for the shipping address before Checkout. You can also add text near the shipping address form [0] noting which states you do not support, but if people still pay from an unsupported state, you will have to handle it after the fact by refunding the user. [0] docs.stripe.com/payments/checkout/customization#customize-text-policies
@ryansteiger2872
@ryansteiger2872 3 ай бұрын
Thank you for the reply. A refund after the fact is not ideal, but I can definitely do the former, get shipping information upfront. So if the Checkout API doesn't have options for states, I do see a way to listen for events on the shipping address Element. Is building the form with elements and checking the state selected a possibility?
@StripeDev
@StripeDev 3 ай бұрын
Elements does not support this option natively, either-sorry about that!
@ryansteiger2872
@ryansteiger2872 3 ай бұрын
@@StripeDev Thank you
@StripeDev
@StripeDev 3 ай бұрын
Of course!
@ryansteiger2872
@ryansteiger2872 3 ай бұрын
@@StripeDev As you said, not natively, but with Elements, I can listen for the state of "state" in the shipping address element and loop through my accepted states. At that point, I can either allow them to continue because they are in our area of service, or... Unmount and pop up an alert/modal with the option to reenter the address? Therefore remounting the elements? Im not sure what I'm going to do yet, but I think this will just be a last ditch effort to avoid payments from areas we don't ship to. I will still collect shipping info up front, validate, and pre-fill the shipping info on the checkout page. A little more work instead of using the Checkout API, but I can create a solution for my use case.
@ryansteiger2872
@ryansteiger2872 3 ай бұрын
Hello Cecil, I know this video is about CLI, but do you know the Checkout API as well? This sounds strange, but I would like to restrict the shipping address states. I ship frozen foods, and my company is a small startup and can't ship nationally yet. I have tried to access the , but is restricted. I see a way to for allowed_countries, but nothing for states. Is it possible?
@MrWalrusxD
@MrWalrusxD 28 күн бұрын
I get the message 'Permission denied' when i try to login via CLI. I think its because of the API keys, does anyone else know how to solve this issue?
@StripeDev
@StripeDev 28 күн бұрын
Hey there! You'll want to make sure your restricted keys are up to date and valid-take a look at our doc here for more info: docs.stripe.com/stripe-cli/keys.
Define and enforce tagging standards in AWS
3:43
Turbot
Рет қаралды 31
Amazing weight loss transformation !! 😱😱
00:24
Tibo InShape
Рет қаралды 67 МЛН
WORLD'S SHORTEST WOMAN
00:58
Stokes Twins
Рет қаралды 131 МЛН
Integrating the Stripe Connect Express Dashboard
5:32
Stripe Developers
Рет қаралды 6 М.
Collecting Taxes with Stripe Checkout
7:41
Stripe Developers
Рет қаралды 1,5 М.
Arm PC Build (Rock 5 ITX)
22:35
ExplainingComputers
Рет қаралды 93 М.
10 (Neo)vim Search and Replace Tips Every Developer Should Know
37:55
Cloud-Native Corner
Рет қаралды 1,8 М.
Stop, Intel’s Already Dead!
13:47
Linus Tech Tips
Рет қаралды 199 М.
What is expand and how to use it with the Stripe API
3:30
Stripe Developers
Рет қаралды 1,8 М.
Handling taxes with the Stripe Payment Element
6:33
Stripe Developers
Рет қаралды 1,3 М.
The grep command - Linux
18:20
ukush
Рет қаралды 35
HP Envy 2-in-1 Touch Screen Laptop | Unboxing and 3 Month Review
9:36