Closed ChocTitans closed 3 months ago
@ChocTitans Hi,
I'm sorry to hear you're having trouble. Please ensure that you are using the latest version of the codenteq/stripe-payment-gateway
package, which is v1.5.0. This version is compatible with Bagisto v2.2.2 and should resolve the issue.
To update the package, you can run the following command in your terminal:
composer require codenteq/stripe-payment-gateway:^1.5.0
This command will install the latest compatible version. After updating, please clear the cache and try accessing the configuration again.
If the issue persists, please share more details so we can further investigate.
Thanks!
Hello,
Thanks for the fast reply, I have tried the command you provided but it seems it cannot find the 1.5.0
@ChocTitans Hi,
Thank you for trying the command. It seems there might be an issue with the package version resolution. To resolve this, I recommend removing the package and then reinstalling it.
You can do this by running the following commands:
Remove the package:
composer remove codenteq/stripe-payment-gateway
Reinstall the package with the correct version:
composer require codenteq/stripe-payment-gateway
After reinstalling, please clear your cache and try accessing the configuration again. If you continue to experience issues, feel free to reach out, and we'll look into it further.
Thanks!
@ahmetarsiv Hi,
I have installed with the command you provided, however it installs the 1.4.0, and once I try to access to admin/configuration in bagisto, I get this error
and Once I remove the stripe-payment-gateway, the admin/configuration works without a single problem
@ChocTitans Hi,
Thank you for your patience. It seems the package manager is still pulling the older version (v1.4.0) instead of the latest v1.5.0.
To ensure you're using the correct version, please try the following steps:
Remove the current package:
composer remove codenteq/stripe-payment-gateway
Clear Composer's cache:
composer clear-cache
Require the package directly from GitHub with the correct version:
composer require codenteq/stripe-payment-gateway:1.5.0 --prefer-source
Regenerate Composer's autoload files:
composer dump-autoload
php artisan optimize
composer require stripe/stripe-php
Webkul\Stripe\Providers\StripeServiceProvider::class,
"Webkul\\Stripe\\": "packages/Webkul/Stripe/src"
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_4eC39HqLyjWDarjtT1zdp7dc
After completing these steps, please try accessing the admin/configuration again. If the issue persists, feel free to share any error messages, and we'll assist further.
Thanks for your understanding!
@ahmetarsiv Hi,
Thank you for being so helpful, composer require codenteq/stripe-payment-gateway:1.5.0 --prefer-source
doesn't work so I tested without composer and it works !
I'm able to create stripe payment and also configuration works !
Thank you again for the support
name: "🐛 Bug Report" about: 'Report a general issue.'
Bug Report
Not working with the latest update of bagisto 2.2.2
Issue Description
cannot acces to configuration in bagisto admin section
Preconditions
Steps To Reproduce
Just install this into bagisto v2.2.2
Actual Result
Expected Result
cannot acces to configuration in bagisto admin section