An open API service indexing awesome lists of open source software.

https://github.com/codenteq/stripe-payment-gateway

The Laravel eCommerce Stripe Payment Gateway
https://github.com/codenteq/stripe-payment-gateway

acikkaynak bagisto codenteq ecommerce opensource payment stripe

Last synced: 9 months ago
JSON representation

The Laravel eCommerce Stripe Payment Gateway

Awesome Lists containing this project

README

          

# Stripe Payment Gateway
[![License](https://poser.pugx.org/codenteq/stripe-payment-gateway/license)](https://github.com/codenteq/stripe-payment-gateway/blob/master/LICENSE)
[![Total Downloads](https://poser.pugx.org/codenteq/stripe-payment-gateway/d/total)](https://packagist.org/packages/codenteq/stripe-payment-gateway)

## 1. Introduction:

Install this package now to receive secure payments in your online store. Stripe offers an easy and secure payment gateway

## 2. Requirements:

* **PHP**: 8.1 or higher.
* **Bagisto**: v2.*
* **Composer**: 1.6.5 or higher.

## 3. Installation:

- Run the following command
```
composer require codenteq/stripe-payment-gateway
```

- Run these commands below to complete the setup
```
composer dump-autoload
```

- Run these commands below to complete the setup
```
php artisan optimize
```

- Go to the Bagisto admin panel, find the Stripe payment gateway, enter your API key and start receiving payments.
```
http://localhost:8000/admin/configuration/sales/payment_methods
```

- To use the demo API key, paste the key into the Stripe Client Secret section.
```
sk_test_BQokikJOvBiI2HlWgH4olfQ2
```

## Installation without composer:

- Unzip the respective extension zip and then merge "packages" and "storage" folders into project root directory.
- To ensure that your custom shipping method package is properly integrated into the Bagisto application, you need to register your service provider. This can be done by adding it to the `bootstrap/providers.php` file in the Bagisto root directory.

```
Webkul\Stripe\Providers\StripeServiceProvider::class,
```

- Goto composer.json file and add following line under 'psr-4'

```
"Webkul\\Stripe\\": "packages/Webkul/Stripe/src"
```

- Run these commands below to complete the setup

```
composer dump-autoload
```

```
php artisan optimize
```

- Go to the Bagisto admin panel, find the Stripe payment gateway, enter your API key and start receiving payments.
```
http://localhost:8000/admin/configuration/sales/payment_methods
```

- To use the demo API key, paste the key into the Stripe Client Secret section.
```
sk_test_BQokikJOvBiI2HlWgH4olfQ2
```

> That's it, now just execute the project on your specified domain.

## How to contribute
Stripe Payment Gateway is always open for direct contributions. Contributions can be in the form of design suggestions, documentation improvements, new component suggestions, code improvements, adding new features or fixing problems. For more information please check our [Contribution Guideline document.](https://codenteq.com/contributor-covenant-code-of-conduct/)