← All changes
|
app/Modules/PaymentMethods/PromoGateways/Pro/PaddlePromo.php
+3
-2
1.3.21
→
1.6.5
View file →
| @@ -1,8 +1,9 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | namespace FluentCart\App\Modules\PaymentMethods\PromoGateways\Pro; |
| 4 | 4 | |
| 5 | +use FluentCart\App\Helpers\Helper; | |
| 5 | 6 | use FluentCart\App\Modules\PaymentMethods\Core\AbstractPaymentGateway; |
| 6 | 7 | use FluentCart\App\Services\Payments\PaymentInstance; |
| 7 | 8 | use FluentCart\App\Vite; |
| 8 | 9 | |
| @@ -21,9 +22,9 @@ | ||
| 21 | 22 | return [ |
| 22 | 23 | 'title' => 'Paddle', |
| 23 | 24 | 'route' => 'paddle', |
| 24 | 25 | 'slug' => 'paddle', |
| 25 | - 'description' => 'Accept credit cards and PayPal payments securely with Paddle. Available in FluentCart Pro.', | |
| 26 | + 'description' => __('Accept credit cards and PayPal payments securely with Paddle. Available in FluentCart Pro.', 'fluent-cart'), | |
| 26 | 27 | 'logo' => Vite::getAssetUrl("images/payment-methods/paddle-logo.svg"), |
| 27 | 28 | 'icon' => Vite::getAssetUrl("images/payment-methods/paddle-logo.svg"), |
| 28 | 29 | 'brand_color' => '#7c3aed', |
| 29 | 30 | 'status' => false, |
| @@ -63,9 +64,9 @@ | ||
| 63 | 64 | __('Built-in tax & VAT handling', 'fluent-cart'), |
| 64 | 65 | __('Automatic invoicing & refunds', 'fluent-cart') |
| 65 | 66 | ], |
| 66 | 67 | 'icon_path' => 'M12 2L15.09 8.26L22 9.27L17 14.14L18.18 21.02L12 17.77L5.82 21.02L7 14.14L2 9.27L8.91 8.26L12 2Z', |
| 67 | - 'upgrade_url' => 'https://fluentcart.com/pricing/' | |
| 68 | + 'upgrade_url' => Helper::getUpgradeUrl('feature_lock_gateway_paddle') | |
| 68 | 69 | ]; |
| 69 | 70 | } |
| 70 | 71 | |
| 71 | 72 | /** |