Coder Social home page Coder Social logo

payu's People

Contributors

dependabot[bot] avatar kasvith avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

payu's Issues

Verifying notification

During notification verifying getting error. Header openpayu-signature exist in incoming header data.

TypeError: Cannot read property 'split' of undefined
    at PayU.parseHeaderToJson (/Users/arminhupka/PhpstormProjects/untitled/node_modules/@ingameltd/payu/dist/PayU.js:182:28)
    at PayU.verifyNotification (/Users/arminhupka/PhpstormProjects/untitled/node_modules/@ingameltd/payu/dist/PayU.js:199:29)
    at notify (file:///Users/arminhupka/PhpstormProjects/untitled/server.js:40:26)
    at Layer.handle [as handle_request] (/Users/arminhupka/PhpstormProjects/untitled/node_modules/express/lib/router/layer.js:95:5)
    at next (/Users/arminhupka/PhpstormProjects/untitled/node_modules/express/lib/router/route.js:137:13)
    at Route.dispatch (/Users/arminhupka/PhpstormProjects/untitled/node_modules/express/lib/router/route.js:112:3)
    at Layer.handle [as handle_request] (/Users/arminhupka/PhpstormProjects/untitled/node_modules/express/lib/router/layer.js:95:5)
    at /Users/arminhupka/PhpstormProjects/untitled/node_modules/express/lib/router/index.js:281:22
    at Function.process_params (/Users/arminhupka/PhpstormProjects/untitled/node_modules/express/lib/router/index.js:335:12)
    at next (/Users/arminhupka/PhpstormProjects/untitled/node_modules/express/lib/router/index.js:275:10)```

Notify url not working in sandbox environment

Hello, I have following 2 issues.

  1. After creating order, I get these error from PayU.captureOrder().
    error from payu PayUError: statusCode = ERROR_VALUE_INVALID, code = 108, codeLiteral = ERROR_VALUE_INVALID, statusDesc = Order has incorrect status. Transition is impossible.
    at PayU. (E:\Web\work\Progress\0007-medical-mean\MEVICO\Server\node_modules@ingameltd\payu\dist\PayU.js:114:23)
    at Generator.throw ()
    at rejected (E:\Web\work\Progress\0007-medical-mean\MEVICO\Server\node_modules@ingameltd\payu\dist\PayU.js:6:65)
    at tryCatcher (E:\Web\work\Progress\0007-medical-mean\MEVICO\Server\node_modules\bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (E:\Web\work\Progress\0007-medical-mean\MEVICO\Server\node_modules\bluebird\js\release\promise.js:547:31)
    at Promise._settlePromise (E:\Web\work\Progress\0007-medical-mean\MEVICO\Server\node_modules\bluebird\js\release\promise.js:604:18)
    at Promise._settlePromise0 (E:\Web\work\Progress\0007-medical-mean\MEVICO\Server\node_modules\bluebird\js\release\promise.js:649:10)
    at Promise._settlePromises (E:\Web\work\Progress\0007-medical-mean\MEVICO\Server\node_modules\bluebird\js\release\promise.js:725:18)
    at _drainQueueStep (E:\Web\work\Progress\0007-medical-mean\MEVICO\Server\node_modules\bluebird\js\release\async.js:93:12)
    at _drainQueue (E:\Web\work\Progress\0007-medical-mean\MEVICO\Server\node_modules\bluebird\js\release\async.js:86:9)
    at Async._drainQueues (E:\Web\work\Progress\0007-medical-mean\MEVICO\Server\node_modules\bluebird\js\release\async.js:102:5)
    at Immediate.Async.drainQueues [as _onImmediate] (E:\Web\work\Progress\0007-medical-mean\MEVICO\Server\node_modules\bluebird\js\release\async.js:15:14)
    at processImmediate (internal/timers.js:439:21)

  2. How can I get response from notify url in node.js backend ?
    Thanks in advance.

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.