Accept a payment

In this refreshed episode, CJ covers how to take a one-time payment in an SCA ready way with Stripe.js and Ruby.

### Resources

Official guide: https://stripe.com/docs/payments/accept-a-payment
Demo repo: https://github.com/stripe-samples/developer-office-hours/tree/master/2020-10-08-accept-a-payment

### Presenter

CJ Avilla - Developer advocate at Stripe - https://twitter.com/cjav_dev

### Table of contents

00:05 - Intro
01:49 - Demo overview
02:12 - Install Stripe sample
03:23 - Create payment intent on the server
06:58 - Collect card details on the client
12:00 - Confirm payment intent on client
14:50 - Test payment flow
15:55 - Reasons for "No such payment intent: pi_"
19:29 - Add support for email receipts

### Support

If you have a question, please feel free to reach out to our support team on Discord at https://stripe.com/go/developer-chat.

### Updates

Sign up to stay updated with developer news: https://go.stripe.global/dev-digest

### Feedback

If you have any feedback about this or other episodes, let us know: https://forms.gle/VjNqzRhotM2snYo88.

#Stripe #SCA
#Stripe #Payments