Giter Site home page Giter Site logo

oscarssanchez / woocommerce-payments Goto Github PK

View Code? Open in Web Editor NEW

This project forked from automattic/woocommerce-payments

0.0 1.0 0.0 28.79 MB

Accept payments via credit card. Manage transactions within WordPress.

Home Page: https://wordpress.org/plugins/woocommerce-payments/

License: Other

PHP 59.11% Shell 0.54% JavaScript 33.12% CSS 0.15% Dockerfile 0.02% SCSS 1.89% TypeScript 5.18%

woocommerce-payments's Introduction

WooCommerce Payments

This is a feature plugin for accepting payments via a WooCommerce-branded payment gateway.

Dependencies

  • WooCommerce

Development

Install dependencies & build

  • npm install
  • composer install
  • npm run build:client, or if you're developing the client you can have it auto-update when changes are made: npm start

If you run into errors with npm install it may be due to node version, try nvm install followed by nvm use then try again.

When running the composer install/update, composer may prompt you for a GitHub OAuth token before it can fetch the subscriptions-core package from github.

Loading composer repositories with package information
GitHub API limit (0 calls/hr) is exhausted, could not fetch https://api.github.com/repos/automattic/woocommerce-subscriptions-core. Create a GitHub OAuth token to go over the API rate limit. You can also wait until ? for the rate limit to reset.

Head to https://github.com/settings/tokens/new?scopes=repo&description=Composer+XXXXXX to retrieve a token. It will be stored in "/Users/yourname/.composer/auth.json" for future use by Composer.

To fix this up, follow the link provided in the prompt and paste the token into the terminal window to continue.

Setup

If you're using the Docker environment see setup instructions here: https://github.com/Automattic/woocommerce-payments/blob/trunk/docker/README.md

Install the following plugins:

  • WooCommerce

Test account setup

For setting up a test account follow these instructions.

You will need a externally accessible URL to set up the plugin. You can use ngrok for this.

ngrok http 8082

See: https://github.com/Automattic/woocommerce-payments/blob/trunk/CONTRIBUTING.md (possibly move contents here for visibility sake)

Debugging

If you are following the Docker setup here, Xdebug is ready to use for debugging.

Install Xdebug Helper browser extension mentioned here to enable Xdebug on demand.

woocommerce-payments's People

Contributors

dechov avatar frosso avatar renovate[bot] avatar marcinbot avatar jrodger avatar luizreis avatar jessepearson avatar kalessil avatar vbelolapotkov avatar v18 avatar reykjalin avatar radoslavgeorgiev avatar tpaksu avatar ricardo avatar ismaeldcom avatar shendy-a8c avatar naman03malhotra avatar dmallory42 avatar dwainm avatar dmvrtx avatar htdat avatar allendav avatar leonardola avatar adrianduffell avatar danreylop avatar fangedparakeet avatar a-danae avatar daquinons avatar bborman22 avatar brianyu28 avatar

Watchers

James Cloos avatar

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.