Skip to content

Commit

Permalink
Merge pull request #4159 from Laravel-Lang/patch/2024-01-10/10-14
Browse files Browse the repository at this point in the history
[source]: Added Cashier Stripe 15 support
  • Loading branch information
andrey-helldar authored Jan 10, 2024
2 parents 03a41c1 + 91b70bf commit d9e7ec3
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
6 changes: 6 additions & 0 deletions source/cashier/stripe/15.x/stripe.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"Confirm Payment": "Confirm Payment",
"Confirm your :amount payment": "Confirm your :amount payment",
"Extra confirmation is needed to process your payment. Please continue to the payment page by clicking on the button below.": "Extra confirmation is needed to process your payment. Please continue to the payment page by clicking on the button below.",
"Payment Confirmation": "Payment Confirmation"
}
1 change: 1 addition & 0 deletions src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class Plugin extends Provider
Plugins\Cashier\Stripe\Master::class,
Plugins\Cashier\Stripe\V13::class,
Plugins\Cashier\Stripe\V14::class,
Plugins\Cashier\Stripe\V15::class,

Plugins\Fortify\Master::class,
Plugins\Fortify\V1::class,
Expand Down
21 changes: 21 additions & 0 deletions src/Plugins/Cashier/Stripe/V15.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php

declare(strict_types=1);

namespace LaravelLang\Lang\Plugins\Cashier\Stripe;

use LaravelLang\Publisher\Plugins\Plugin;

class V15 extends Plugin
{
protected ?string $vendor = 'laravel/cashier';

protected string $version = '^15.0';

public function files(): array
{
return [
'cashier/stripe/15.x/stripe.json' => '{locale}.json',
];
}
}

0 comments on commit d9e7ec3

Please sign in to comment.