Giter Site home page Giter Site logo

store-payments-integration's Introduction

Place to pay integration

Introduction

Web application for paying integration. In this project, we will use PlacetoPay to handle payment.

Setup

Install dependencies

npm install && composer install

Fill important environment variables

Run cp .env.example .env Then configure:

  • PLACE2_PAY_LOGIN
  • PLACE2_PAY_TRANS_KEY
  • PLACE2_PAY_BASE_URL
  • DB_DATABASE
  • DB_USERNAME
  • DB_PASSWORD

Remember rename .env.example to .env

Migrate and configure database

if you want to avoid using your local Mysql or postgresql or any sql database, you could use docker-compose up -d to create a container with your database just for this project. Learn more about docker compose

Then run php artisan migrate:install; php artisan migrate --seed

Finally in order to make work stored images

run php artisan storage:link

Credentials created with seeders

Admin

Email: [email protected]

Password: password

Customer

Email: [email protected]

Password: password

Technologies

Author

Ricardo Rito Anguiano

store-payments-integration's People

Contributors

ricardoaar avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

store-payments-integration's Issues

Auth system with Laravel Jetstream

Following customer requirements. Create Auth with Jestream and adapt it to project specifications:

ER

  • Migrations for customers and orders created
  • Login and register working
  • UI customized

Create required Views

Application will have some views, some are mandatory and others are nice to have.

Prioritize Mandatory orders

  • Admin view
    • Can see orders
    • Can delete orders
    • Can generate orders for users
    • Can see orders by users
  • User view
    • Can generate orders for itself
    • Can see the resume of the order and go to pay
    • Can see order status
    • Can cancel pending orders

Bold requirements are mandatory, the rest are nice to have

Create Cart System

Cart System has next Relationships:

  • User has many cars, a cart can be own just to an user
  • Cart has many products and a product can belong to many carts

Cart:

  • cart_id
  • order_id

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.