Giter Site home page Giter Site logo

Guests cannot checkout about module-stripe HOT 7 CLOSED

pmclain avatar pmclain commented on July 16, 2024
Guests cannot checkout

from module-stripe.

Comments (7)

pmclain avatar pmclain commented on July 16, 2024

What's in the log entry for the 500 error?

from module-stripe.

viktordodev avatar viktordodev commented on July 16, 2024

Hi, There is nothing in the error log on the server. But there is a 500 error in browser console that i mentioned already.

from module-stripe.

viktordodev avatar viktordodev commented on July 16, 2024

I just realized another error that might help to figure out this:
"[DOM] Found 2 elements with non-unique id #billing-new-address-form: "

This comes up when I enable Stripe payment method

from module-stripe.

viktordodev avatar viktordodev commented on July 16, 2024

I managed to get more detialed report:

Fatal Error: 'Uncaught Error: Class 'Stripe\Stripe' not found in /home/brightam/naturesbasics.co.uk/app/code/Pmclain/Stripe/Model/Adapter/StripeAdapter.php:47↵Stack trace:↵#0 /home/brightam/naturesbasics.co.uk/app/code/Pmclain/Stripe/Model/Adapter/StripeAdapter.php(42): Pmclain\Stripe\Model\Adapter\StripeAdapter->initCredentials()↵#1 /home/brightam/naturesbasics.co.uk/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(111): Pmclain\Stripe\Model\Adapter\StripeAdapter->__construct(Object(Pmclain\Stripe\Gateway\Config\Config))↵#2 /home/brightam/naturesbasics.co.uk/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(66): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Pmclain\Stripe\...', Array)↵#3 /home/brightam/naturesbasics.co.uk/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Pmclain\Stripe\...')↵#4 /home/brightam/naturesbasics.co.uk/vendor/magento/framework/ObjectManager/Factory/Abst' in '/home/brightam/naturesbasics.co.uk/app/code/Pmclain/Stripe/Model/Adapter/StripeAdapter.php' on line 47

from module-stripe.

pmclain avatar pmclain commented on July 16, 2024

Fatal Error: 'Uncaught Error: Class 'Stripe\Stripe' not found means the stripe sdk is not installed. If you don't install this module via composer you have to manually manage the dependencies defined in composer.json

from module-stripe.

viktordodev avatar viktordodev commented on July 16, 2024

OK. Problem solved. It was the way of installation. I have installed it manually instead of using the composer.

from module-stripe.

viktordodev avatar viktordodev commented on July 16, 2024

Thank you.

from module-stripe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.