Code Monkey home page Code Monkey logo

Comments (9)

kevinrobert3 avatar kevinrobert3 commented on June 12, 2024

For context /admin is just the project name

from medusa-payment-paystack.

kevinrobert3 avatar kevinrobert3 commented on June 12, 2024
Screenshot 2024-03-08 at 18 21 55

from medusa-payment-paystack.

a11rew avatar a11rew commented on June 12, 2024

Hi @kevinrobert3, this is not enough information to be able to help you debug what went wrong, please share all the logs, without personally identifiable information.

from medusa-payment-paystack.

kevinrobert3 avatar kevinrobert3 commented on June 12, 2024

Have updated the error logs up top, that is all in full, the screenshot shows the link between where the logs end and error starts

from medusa-payment-paystack.

a11rew avatar a11rew commented on June 12, 2024

Everything up until the error looks like I would expect, is there a reason why you think this is an issue with this plugin? Are you able to complete orders with the test payment method for example?

from medusa-payment-paystack.

kevinrobert3 avatar kevinrobert3 commented on June 12, 2024

Can you point me to the point after all the logs execute, is there a sql command being run by the plugin or it is all MedusaJs

from medusa-payment-paystack.

a11rew avatar a11rew commented on June 12, 2024

This is the handler called by Medusa, not the plugin, when you call the complete method, you could debug from there: https://github.com/medusajs/medusa/blob/56504c99f0df7a375b303084c43ee4f15db828a3/packages/medusa/src/api/routes/admin/orders/complete-order.ts#L89

I would recommend running the medusa migrations command too, encountered errors like this when the latest migrations were not apply

from medusa-payment-paystack.

kevinrobert3 avatar kevinrobert3 commented on June 12, 2024

after some debugging, not quite sure what the issue was. But I had extended the Customer entity i undid that. The order too had been extended too, undid that. I was preparing these for more but had to undo. Had extended the cart entity too. Basically I undid these but not quite sure what was the culprit exactly. Also had cleared the db and did migrations again though did not work.

The order does get placed now. I'll return the extended entities and services one by one later.

from medusa-payment-paystack.

a11rew avatar a11rew commented on June 12, 2024

Good to hear you've found the issue. Closing this as it is not an issue with the plugin, reopen it if you find it was caused by the plugin.

from medusa-payment-paystack.

Related Issues (18)

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.