Coder Social home page Coder Social logo

strangerkir / woocommerce-paypal-payments Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xedinunknown/woocommerce-paypal-payments

0.0 0.0 0.0 2.44 MB

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

License: GNU General Public License v2.0

PHP 93.42% CSS 0.29% JavaScript 6.26% SCSS 0.02%

woocommerce-paypal-payments's Introduction

WooCommerce PayPal Payments

PayPal's latest complete payments processing solution. Accept PayPal, PayPal Credit, credit/debit cards, alternative digital wallets local payment types and bank accounts. Turn on only PayPal options or process a full suite of payment methods. Enable global transaction with extensive currency and country coverage.

Requirements

  • PHP >= 7.0
  • WordPress >=5.3
  • WooCommerce >=4.5

Development

  1. Clone repository
  2. $ cd woocommerce-paypal-payments
  3. $ composer install
  4. $ yarn run build:dev
  5. Change the PAYPAL_INTEGRATION_DATE constant to gmdate( 'Y-m-d' ) to run the latest PayPal JavaScript SDK

Note: PHPUnit needs at least PHP 7.3.

Unit tests and code style

  1. $ composer install
  2. $ ./vendor/bin/phpunit
  3. $ ./vendor/bin/phpcs src modules woocommerce-paypal-payments.php --extensions=php

Preparation for wordpress.org release

If you want to deploy a new version, you need to do some preparation:

Clone

Clone the repository and cd into it

Build

The following command should get you a ZIP file ready to be used on a WordPress site.

npm run build

Update version

Make sure you have the version in the plugin root file updated.

Fixate integration date

Fix the PayPal JavaScript SDK integration date by using the current date for the PAYPAL_INTEGRATION_DATE constant.

License

GPL-2.0 License

Contributing

All feedback / bug reports / pull requests are welcome.

woocommerce-paypal-payments's People

Contributors

websupporter avatar meszarosrob avatar dinamiko avatar jorgeatorres avatar dnaber-de avatar chickenn00dle avatar mmaymo avatar mattallan avatar strangerkir avatar lcmry 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.