Перейти к содержимому

Accept a payment with the Payment Element using PHP

Stripe Developers

0:00 / 0:00

Accept a payment with the Payment Element using PHP

16 299 просмотров · 3 г. назад
Stripe Developers
1,11 млн подписчиков
16 299 просмотров · 3 г. назад
In this episode, you'll learn how to accept a one-time payment with a custom form using PHP on the server and the Stripe Payment Element on the client. The Payment Element enables you to collect several different payment method types from cards and bank accounts to wallets and buy-now-pay-later payment methods. Presenter CJ Avilla - Developer Advocate at Stripe -   / cjav_dev   Chapters 00:00 Introduction 01:37 Install a sample with the Stripe CLI 04:00 Enable payment methods in the dashboard 05:06 Overview of payment flow 05:31 Create payment intent on the server 08:00 Collect payment details on the client 11:22 Submit payment details to Stripe 13:58 Build a confirmation page 16:19 Handle webhooks and post-processing events 19:49 Test your integration with Stripe test cards 21:15 Conclusion Resources Accept a payment - https://stripe.com/docs/payments/acce... PaymentIntent API reference - https://stripe.com/docs/api/payment_i... Learn all about webhooks - https://stripe.com/docs/videos/develo... 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 #payments #php #payment_element #integration