aaisha/stripe

此包的最新版本(1.0.0)没有可用的许可信息。

这是一个OMnipay Stripe包

1.0.0 2023-04-07 06:26 UTC

This package is auto-updated.

Last update: 2024-09-07 09:40:34 UTC


README

Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require

安装

使用Composer在项目的根目录中安装此包。

$ composer require aaisha/stripe

将服务提供者添加到config/app.php中的providers数组中。

        Aaisha\Stripe\Providers\OmnistripeProvider::class,

配置

Laravel需要连接配置。要开始,你需要发布所有供应商资产

$ php artisan vendor:publish --provider="Omnipay\Aaisha\Stripe\Providers\OmnistripeProvider"

你可以根据需要更改配置文件,但默认预期值如下所示在.env文件中

STRIPE_PUBLISHABLE_KEY="Your Publishable Key"
STRIPE_SECRET_KEY="Your Secret Key"
STRIPE_CURRENCY=INR

运行项目

http://127.0.0.1:8000/payment