Giter VIP home page Giter VIP logo

api-plugin-orders's Introduction

This repository is deprecated

This code is now located in our monorepo here

api-plugin-orders

npm (scoped) CircleCI semantic-release

Summary

Orders plugin for the Reaction API

Developer Certificate of Origin

We use the Developer Certificate of Origin (DCO) in lieu of a Contributor License Agreement for all contributions to Reaction Commerce open source projects. We request that contributors agree to the terms of the DCO and indicate that agreement by signing all commits made to Reaction Commerce projects by adding a line with your name and email address to every Git commit message contributed:

Signed-off-by: Jane Doe <[email protected]>

You can sign your commit automatically with Git by using git commit -s if you have your user.name and user.email set as part of your Git configuration.

We ask that you use your real name (please no anonymous contributions or pseudonyms). By signing your commit you are certifying that you have the right have the right to submit it under the open source license used by that particular Reaction Commerce project. You must use your real name (no pseudonyms or anonymous contributions are allowed.)

We use the Probot DCO GitHub app to check for DCO signoffs of every commit.

If you forget to sign your commits, the DCO bot will remind you and give you detailed instructions for how to amend your commits to add a signature.

License

This Reaction plugin is GNU GPLv3 Licensed

api-plugin-orders's People

Contributors

akarshit avatar aldeed avatar delagroove avatar dependabot[bot] avatar focusaurus avatar kieckhafer avatar manizuca avatar mikemurray avatar mohannarayana avatar snyk-bot avatar tedraykov avatar trojanh avatar willopez avatar zenweasel avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

api-plugin-orders's Issues

Possibly change how we do factories for tests

We are currently imports our api-plugin-shops and api-plugin-catalog as dev dependencies, in order to use their schemas for testing in this package.

We can do this another way, just create these objects internally, but this keeps the tests as they were before with the same schemas.

Order Followup

After an order has been marked as delivered, and order followup email and notification should be sent to the customer.

This should

  • Thank the customer for shopping with the shop(s)
  • provide contact information the shop(s) that sold products to the customer
  • give the customer a roadmap for what to do if they are not satisfied
  • Include or link to the return policy for the shop(s) associated with this order

Future case:

  • This email should provide a link for the customer to leave a review of the vendor they bought products from in the case of a marketplace.
  • This email should provide a link for the customer to review for a product they bought

Order has status "new" and primary shop owner can nothing to do with it

โ“ Questions and Help

Please note that this issue tracker is not a help form and this issue will be closed.

Please contact us instead. We are active in gitter and twitter:
Issue Description

Then I got the new order to the shop admin with testing stripe credentials I can't process the order even I approve It inside stripe account
Steps to Reproduce

Please provide starting context, i.e. logged in as a user, configure a particular payment method.
1.Get new payed order with testing credentials
2. Approve order inside stripe dashboard
3.Go to the orders and order has still new status and nothing can do with it

Possible Solution
image
image

Not obligatory, but suggest a fix/reason for the bug

Add some account fields to order

Copy some properties of order.account to order itself. The full order.account can be queried using GraphQL, but not everyone dealing with orders will have permission to read it. Some fields are handy and need not be behind these strict permissions:

  • The main thing order does not currently have is firstName/lastName/name from the account. We have names with each address, but it is not necessarily paid for by or shipped to the orderer.
  • Any others? (Email is already copied to order.)

Generate and send RMA and return instructions to customer

When an order return is authorized, an RMA should be generated.

Workflow for generating return authorization.

  1. Customer can request a return via phone or email.
  2. Admin should be able to authorize a return by either clicking "create return", or by reducing the quantity of an order item or removing an order item and then clicking "create partial return"
  3. Admin should be prompted to confirm that they want to authorize the return of [items they are returning]
  4. Upon confirmation, an email should be sent out to the customer with instructions for returning the items, and the order should be put into the "Returning" state.

Log IP address for each order

@eziel commented on Sat Feb 17 2018

Having the IP address from the computer creating the order could be very helpful for fraud detection and analysis. please add a field to the order collection with the users IP address.

Thank you.

add peerDependency for Tags plugin

Orders uses the TagSortByField and TagConnection type in GraphQL, which lives in the tags plugin.

When work is done to move orders over here, we need to be sure to install api-plugin-tags as a peerDependency.

Shop owners should be able to configure order processing time

Shop owners should be able to set their order processing time in business days.

There should be a default amount of time for shop owners that to not change this number.

If an order is not shipped in the set amount of time, it is marked as LATE => #2344

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.