简体   繁体   English

如何在Laravel 5.2中使用Stripe

[英]How to work with stripe in laravel 5.2

I have read and tried most of the blogs and tutorials regarding implementation of stripe in laravel 5.2 but none of them work out or none of them had proper explanation. 我已经阅读并尝试了有关在laravel 5.2中实现stripe的大多数博客和教程,但是没有一个可行或没有适当的解释。 Can somebody please provide me some simple to understand tutorial link. 有人可以给我提供一些简单易懂的教程链接。 or can guide in simple language. 或可以用简单的语言进行指导。 I'm new to laravel 我是Laravel的新手

Personally I think that watching this video from Jeffrey Way at Laracasts.com will give you a basic understanding of how to use Stripe inside a Laravel project. 我个人认为,观看Laracasts.com上Jeffrey Way的视频可以使您基本了解如何在Laravel项目中使用Stripe。

The video is recorded using Laravel 5.3 but not much is different - https://laracasts.com/series/how-to-accept-payments-with-stripe/episodes/1 视频使用Laravel 5.3记录下来,但没有太大的不同- https://laracasts.com/series/how-to-accept-payments-with-stripe/episodes/1

Without watching the free video though, you can use composer require stripe/stripe-php to include the PHP library ( https://github.com/stripe/stripe-php ) 不过,如果不观看免费视频,则可以使用composer require stripe/stripe-php来包含PHP库( https://github.com/stripe/stripe-php

And then basically follow the instructions here and in the documentation - https://stripe.com/docs/checkout/php 然后基本上按照此处和文档中的说明进行操作-https: //stripe.com/docs/checkout/php

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM