← All changes
|
app/Modules/PaymentMethods/PromoGateways/Addons/PaystackAddon.php
+2
-2
1.3.21
→
1.6.5
View file →
| @@ -16,9 +16,9 @@ | ||
| 16 | 16 | private $addonFile = 'paystack-for-fluent-cart/paystack-for-fluent-cart.php'; |
| 17 | 17 | |
| 18 | 18 | public function __construct() |
| 19 | 19 | { |
| 20 | - $settings = new AddonGatewaySettings('paystack'); | |
| 20 | + $settings = new AddonGatewaySettings('paystack', 'fluent_cart_payment_settings_paystack'); | |
| 21 | 21 | |
| 22 | 22 | $settings->setCustomStyles([ |
| 23 | 23 | 'light' => [ |
| 24 | 24 | 'icon_bg' => '#dcfce7', |
| @@ -40,9 +40,9 @@ | ||
| 40 | 40 | return [ |
| 41 | 41 | 'title' => 'Paystack', |
| 42 | 42 | 'route' => 'paystack', |
| 43 | 43 | 'slug' => 'paystack', |
| 44 | - 'description' => 'Pay securely with Paystack - Cards, Bank Transfer, USSD, and Mobile Money', | |
| 44 | + 'description' => __('Pay securely with Paystack - Cards, Bank Transfer, USSD, and Mobile Money', 'fluent-cart'), | |
| 45 | 45 | 'logo' => Vite::getAssetUrl("images/payment-methods/paystack-logo.svg"), |
| 46 | 46 | 'icon' => Vite::getAssetUrl("images/payment-methods/paystack-logo.svg"), |
| 47 | 47 | 'brand_color' => '#0fa958', |
| 48 | 48 | 'status' => false, |