Git Product home page Git Product logo

square-plugin-for-nopcommerce's Introduction

square-plugin-for-nopcommerce's People

Contributors

dmitriykulagin avatar holydk avatar romanovm avatar skoshelev avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

square-plugin-for-nopcommerce's Issues

Use webhooks for refund transactions

When I made a full or partial refund from the NopCommerce Admin panel for an order placed using Square as method of payment, the refund request is received by square and create the refund, but the status of that fund is PENDING on our square account, and that is received by NopCommerce, but the order is not marked as refunded and the refunded amount is still 0 at NopCommerce side (our website). This error message is logged :
"Error refunding order #285320. Error: Error 0: Refund is PENDING"

And an order note is added with the same information.

After a few minutes, the status of the refund changed from PENDIND to PROCCESED at the square side and the customer eventually receive the money, but the transaction is not marked as refunded.

According to Square they might send some notification when some events occurs like a refund status change, but we need to subscribe to such notifications and configure them by enter a webhook URL like https://ourwebsite.com/webhooks

You can find more info here:

https://developer.squareup.com/docs/webhooks-api/subscribe-to-events

Source: https://www.nopcommerce.com/en/boards/topic/90456/does-nopcommerce-square-plugin-support-webhooks

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.