如何在 laravel 5.2 中使用条纹

How to work with stripe in laravel 5.2

我已经阅读并尝试了大多数关于在 laravel 5.2 中实现 stripe 的博客和教程,但其中 none 成功了,或者 none 得到了正确的解释。有人可以给我一些简单易懂的教程吗link。或者可以用简单的语言进行指导。 我是 laravel

的新手

我个人认为,在 Laracasts.com 观看 Jeffrey Way 的这段视频会让您对如何在 Laravel 项目中使用 Stripe 有一个基本的了解。

视频是使用 Laravel 5.3 录制的,但差别不大 - https://laracasts.com/series/how-to-accept-payments-with-stripe/episodes/1

即使不观看免费视频,您也可以使用 composer require stripe/stripe-php 来包含 PHP 库 (https://github.com/stripe/stripe-php)

然后基本上按照此处和文档中的说明进行操作 - https://stripe.com/docs/checkout/php