Code Monkey home page Code Monkey logo

cart-woocommerce's Introduction

Mercado Pago Payment Gateway Plugin (Woocommerce)

made-with-Php php-version

Welcome to the readme for Mercado Pago Payment Gateway Plugin. This guide is intended to provide users with the necessary information to understandand extend the functionality of the plugin.

Table of Contents

  1. Introduction

  2. Plugin Overview

  3. WordPress and WooCommerce Basics

  4. Installation

  5. Plugin Configuration

  6. Hooks and Filters

  7. Customization

  8. Contributing

  9. Support and Issues

Introduction

Mercado Pago Payment Gateway Plugin is a WooCommerce payment gateway extension designed to facilitate secure online transactions. This guide will help you understand the inner workings of the plugin and provide information on how to extend its functionality.

Plugin Overview

Mercado Pago Payment Gateway Plugin integrates seamlessly with WooCommerce, enabling users to make payments using Mercado Pago. The plugin is built with flexibility and extensibility in mind, allowing developers to customize and extend its features.

WordPress and WooCommerce Basics

To work effectively with our plugin, it's essential to have a basic understanding of WordPress and WooCommerce. If you are new to these platforms, consider familiarizing yourself with the following resources:

Installation

Follow these steps to manual installation :

  1. Download the plugin from ths GitHub repository.
  2. Run npm install and composer install
  3. Run sh bin/create-release-zip.sh to generate the final zip used to install it in the store.
  4. Upload the plugin files generated by zip to the /wp-content/plugins/ directory or install it via the WordPress admin interface.
  5. Activate the plugin through the 'Plugins' menu in WordPress.

you can also get the plugin directly from the wordpress page at https://wordpress.org/plugins/woocommerce-mercadopago/

Plugin Configuration

After installation, navigate to the Mercado Pago developer site to view integration documentation and configure the plugin.

Customization

The WooCommerce payment plugin provides flexibility for customization and extensions. You can extend existing functionalities or add new ones according to your specific needs.

Example Payment Gateway Extension

You can also extend the payment gateway class to add new custom gateways. See an example:

namespace MercadoPago\Woocommerce\Templates\Gateways;

use MercadoPago\Woocommerce\Gateways\AbstractGateway;
use MercadoPago\Woocommerce\Templates\Transactions\ExamplePaymentTransaction;
use MercadoPago\Woocommerce\Templates\WoocommerceMercadopagoTemplate;

class ExamplePaymentGateway extends AbstractGateway {
    // ... (your code here)
}

In this example, the ExamplePaymentGateway class extends the payment gateway functionality and can be customized to add new payment options.

Example Payment Transaction Extension

To extend the payment transaction class, you can create a custom class that inherits from AbstractPaymentTransaction. See the example below:

namespace MercadoPago\Woocommerce\Templates\Transactions;

use MercadoPago\Woocommerce\Gateways\AbstractGateway;
use MercadoPago\Woocommerce\Transactions\AbstractPaymentTransaction;

class ExamplePaymentTransaction extends AbstractPaymentTransaction {
    // ... (your code here)
}

In this example, the ExamplePaymentTransaction class extends the payment transaction functionality and can be customized as needed.

You can see more on the github wiki page.

Support and Issues

For any issues or questions, please reach out to our support team.

Thank you for using our plugin!


cart-woocommerce's People

Contributors

bruno-marins avatar claudiosanches avatar cleitonaguiarandrade avatar daniellferreira avatar delias-silva avatar dependabot[bot] avatar douglascorreiameli avatar falehenrique avatar farabolinimeli avatar felipeoliveiradev avatar fernandoacosta avatar fhenriques-meli avatar flaviofat avatar giovannicavallari avatar gmatsuoka avatar gubrito avatar hugodamm avatar katelucena-meli avatar lira avatar luana-ogawa avatar luiztucillo avatar macr1408 avatar maicongouveia avatar marcelohama avatar mmitameli avatar omegafl avatar salehkhalilmp avatar sleaof avatar wiloliveira avatar www avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.