Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Illuminate \ Contracts \ Container \ BindingResolutionException Target class [encrypter] does not exist. Previous exceptions Class encrypter does not exist (-1)

    Bug Report
    3
    25
    7001
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      shanavas last edited by

      @Vaishali-Agarwal said in Illuminate \ Contracts \ Container \ BindingResolutionException Target class [encrypter] does not exist. Previous exceptions Class encrypter does not exist (-1):

      php artisan config:cache

      ![alt text](12.png image url)

      1 Reply Last reply Reply Quote 0
      • V
        Vaishali Agarwal last edited by

        Hi @shanavas
        first disable the Razorpay module from the config/app.php under providers then run

        composer dump-autoload;
        php artisan key:generate;
        php artisan config:cache

        1 Reply Last reply Reply Quote 0
        • S
          shanavas last edited by

          @Vaishali-Agarwal said in Illuminate \ Contracts \ Container \ BindingResolutionException Target class [encrypter] does not exist. Previous exceptions Class encrypter does not exist (-1):

          Hi @shanavas
          first disable the Razorpay module from the config/app.php under providers then run
          composer dump-autoload;
          php artisan key:generate;
          php artisan config:cache

          Thanks 🙂

          1 Reply Last reply Reply Quote 0
          • S
            shanavas last edited by

            Paymentgateways are enabled in the backend admin panel. But not coming in the front end. I reached to one page checkout. But not coming any pay now button13.png

            1 Reply Last reply Reply Quote 0
            • V
              Vaishali Agarwal last edited by

              Hi @shanavas

              1. remove the item from cart then again add an item to the cart
              2. Open network developer toolbar on console before process to the checkout page

              Let me know if their is any Error comes while checkout

              1 Reply Last reply Reply Quote 0
              • S
                shanavas last edited by

                Same issue 13.png

                1 Reply Last reply Reply Quote 0
                • V
                  Vaishali Agarwal last edited by

                  @shanavas
                  open the error in network tab, and view response

                  1 Reply Last reply Reply Quote 0
                  • S
                    shanavas last edited by

                    issue solved. Duplicate entry of unique key in cart_shipping_rates table . Thank you

                    1 Reply Last reply Reply Quote 0
                    • V
                      Vaishali Agarwal last edited by

                      @shanavas
                      Great! 🙂

                      1 Reply Last reply Reply Quote 0
                      • S
                        shanavas last edited by

                        Hi

                        While click on razopray payment button, showing something wrong try again late

                        1 Reply Last reply Reply Quote 0
                        • S
                          shanavas last edited by

                          I added one razorpay button. How to avoid redirect option to sandbox. I would like to popup in the same page of razorpay. Paypal button is redirecting to razorpay controller. How to fix this issue

                          1 Reply Last reply Reply Quote 0
                          • S
                            shaiv-webkul last edited by shaiv-webkul

                            If you want popup in the same page then you have to add your js ,

                            Create a blade file
                            put this code into it
                            @if(request()->is('checkout/onepage'))
                            eventBus.$on('after-checkout-payment-section-added', function() {
                            $(document).ready(function() {
                            // your code here
                            });
                            });

                            @endif

                            1 Reply Last reply Reply Quote 0
                            • S
                              shanavas last edited by

                              This post is deleted!
                              1 Reply Last reply Reply Quote 0
                              • S
                                shanavas last edited by

                                How to clear cache in server cpanel ?

                                1 Reply Last reply Reply Quote 0
                                • V
                                  Vaishali Agarwal last edited by

                                  @shanavas
                                  go to the terminal, hit on project root directory then run php artisan config:cache

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    shanavas last edited by

                                    I am using shared server. They have not allowed to access terminal. How can I clear the cache in source code ? Please give me a reply an urgent basis

                                    1 Reply Last reply Reply Quote 0
                                    • V
                                      Vaishali Agarwal last edited by

                                      @shanavas
                                      for now their is no other way to clear cache..you have to ask your hosting provider to allow terminal access then you can clear your project cache.

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        shanavas last edited by

                                        window.location.href = {{ route('shop.checkout.success') }}; ErrorException (E_ERROR) htmlspecialchars() expects parameter 1 to be string, object given (View:

                                        How to fix this issue - Urgent Help

                                        1 Reply Last reply Reply Quote 0
                                        • V
                                          Vaishali Agarwal last edited by

                                          @shanavas
                                          How did you get this error?
                                          Please describe me more

                                          1 Reply Last reply Reply Quote 0
                                          • S
                                            shanavas last edited by

                                            In checkout razorpay page, blade file I added some jqery for the payment submission. After submission we will get success or failure message in javascript of the blade file. I try to redirect from blade file in jquery. Then
                                            I got this error

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post