Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix - Stripe Readme #1711

Merged
merged 1 commit into from
May 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions packages/stripe/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,23 +40,23 @@ composer require lunarphp/stripe

### Publish the configuration

This will publish the configuration under `config/getcandy/stripe.php`.
This will publish the configuration under `config/lunar/stripe.php`.

```sh
php artisan vendor:publish --tag=getcandy.stripe.config
php artisan vendor:publish --tag=lunar.stripe.config
```

### Publish the views (optional)

Lunar Stripe comes with some helper components for you to use on your checkout, if you intend to edit the views they provide, you can publish them.

```sh
php artisan vendor:publish --tag=getcandy.stripe.components
php artisan vendor:publish --tag=lunar.stripe.components
```

### Enable the driver

Set the driver in `config/getcandy/payments.php`
Set the driver in `config/lunar/payments.php`

```php
<?php
Expand Down Expand Up @@ -87,7 +87,7 @@ Make sure you have the Stripe credentials set in `config/services.php`

## Configuration

Below is a list of the available configuration options this package uses in `config/getcandy/stripe.php`
Below is a list of the available configuration options this package uses in `config/lunar/stripe.php`

| Key | Default | Description |
| --- | --- | --- |
Expand Down Expand Up @@ -277,4 +277,4 @@ Contributions are welcome, if you are thinking of adding a feature, please submi

## Testing

A [MockClient](https://github.com/getcandy/stripe/blob/main/tests/Stripe/MockClient.php) class is used to mock responses the Stripe API will return.
A [MockClient](https://github.com/lunar/stripe/blob/main/tests/Stripe/MockClient.php) class is used to mock responses the Stripe API will return.
Loading