Giter Site home page Giter Site logo

peach-commerce-prestashop's Introduction

Peach Commerce – PrestaShop Gateway Module for Lightning

1. Description

We are providing you with merchant module, which can be used with PrestaShop e-commerce platform. With the help of this module you can accept Bitcoin Lightning payments with small fees. Selling goods or services now becomes easier. You don't need to deploy your own LND or perform complicated setup. Withdrawing process is quick and easy. You can withdraw your income with a single aggregated bitcoin transaction through Peach Public Node.

2. Installation

Requires PHP >= 5.4.

Requires the php-curl and extensions.

  1. Download peach-commerce.zip.

  2. Upload Peach Commerce module in the Modules tab => Modules & Services.

  3. Configure Peach Commerce in the Modules tab => Modules & Services => Configure Peach Commerce

To set up your module, you should request a merchant account on Peach Public Node. You can do it on Peach website [https://lightningpeach.com/peach-commerce]

  1. To view your balance and get information on how to set up Cron job, Open Payment => Peach Commerce.

That's it! The "Bitcoin Lightning" payment option should now be available on your checkout page, you are ready to accept Bitcoin.

3. How to connect to Peach Public Node

Request account creation on Peach Public Node - [https://lightningpeach.com/peach-commerce]

The following parameters will be requested by Peach team to create account on Peach Public Node:

  • Name of your business.
  • Notification URL – a URL for webhook to inform you about a new successful payment. You can find it in PrestaShop admin page in the Modules tab => Modules & Services => Configure Peach Commerce.
  • BTC address – a Bitcoin address for onchain withdrawal of your funds. For security reasons it is better not to change it.

4 Configure Peach Commerce:

To configure Peach Commerce please set up the following fields: • Merchant ID is a secret key to your account for managing it on Peach Public Node and will be provided by lightning team. NOTE: Merchant ID should not be shared with anyone to keep your account secure. • HUB Host – Specify a url for Peach Public Node API (you will get it with your merchant id). • Notification URL – will be set up as default when module is uploaded.

Cron job is needed to update the order status right away for both sides Order confirmation and Admin pages. Set up cron job:

  1. Open Payment => Peach Commerce to get the link to add to cron job set up.
  2. Set up cron job and add the link from Step 1 to the job.

5. Contact

If you have any questions, please contact us: https://github.com/LightningPeach [email protected]

peach-commerce-prestashop's People

Contributors

gamer90 avatar

Watchers

James Cloos avatar  avatar Evgeny Demchenko 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.