Giter VIP home page Giter VIP logo

Comments (6)

christophercliff avatar christophercliff commented on September 27, 2024

Looks like a legit OperationalError. The checkoutFailure action should give you a cause in the payload.

from flatmarket.

dortamiguel avatar dortamiguel commented on September 27, 2024

I get the following

image

from flatmarket.

christophercliff avatar christophercliff commented on September 27, 2024

That's not a very useful error message! I think this is the only place a 502 is returned:

if (err) return reject(Boom.badGateway(err.message))
. If you log that error you should get some better info.

from flatmarket.

dortamiguel avatar dortamiguel commented on September 27, 2024

I'm doing this but it doesn't log anything, is this what you wanted me to do?

return new Bluebird(function (resolve, reject) {
    stripeResource.create(stripePayload, function (err) {
        if (err) {
            console.log(err.message)
            return reject(Boom.badGateway(err.message))
        }
        return resolve()
    })
})

from flatmarket.

christophercliff avatar christophercliff commented on September 27, 2024

Yes, that should produce a log like 'Invalid API Key provided: sk_bogus_key'. Two things:

  1. This will be logged by the flatmarket-cli process, not the web browser console.
  2. You must restart the flatmarket-cli process after you make changes to packages/flatmarket-service.

from flatmarket.

christophercliff avatar christophercliff commented on September 27, 2024

Closing due to inactivity.

from flatmarket.

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.