Download the PHP package publicsquare-financial/magento-payments-plugin without Composer

On this page you can find all versions of the php package publicsquare-financial/magento-payments-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package magento-payments-plugin

PublicSquare Financial

PublicSquare provides a software platform for retailers to access third-party providers for lease-to-own financing and other lending products based on a consumer's credit profile.

INSTALLATION

Manual Installation

Enabled Extension

Webhook Configuration

Automated Configuration

Manual Configuration

  1. In the [https://portal.publicsquare.com](PublicSquare Portal) create a new webhook under Developer > Webhook with the following properties:
    • URL: {magento.hostname}/publicsquare-payments/webhook/index
    • Event Types:
      • refund:update
      • settlement:update
  2. Enter the Webhook ID and Webhook Key in to the Magento Admin panel under: Stores > Configuration > Sales > Payment Methods > PublicSquare

Docker Installation

If you need a local installation of Magento2, the cleanest way is to use Docker. This repo provides an out of the box installation with just a few commands.

Replace 2.4.7 with the version of Magento you want to install.

Replace magento.test with the local domain you want to use.

Local environment using this repo (Docker + sample data)

This repository also includes a self-contained Docker setup and helper scripts to provision a full local environment (containers, Magento, this plugin, and sample data).

  1. Start / provision the IT stack (first time or after reset)

    • If you don't pass any arguments, it-install (called under the hood) will prompt for your PublicSquare PUBLIC and SECRET keys.
    • In CI or when scripting, you can pass the keys explicitly:
  2. Subsequent runs

    • To restart the stack without reinstalling Magento:

    • To tear everything down and reset volumes:

Deploying plugin changes in the IT/local environment

When you change this plugin's code and want Magento to pick up the changes (DI, static content, etc.) inside the IT Docker stack, use:

This runs bin/deploy inside the web container, which will:

Use this after code changes to ensure Magento is fully rebuilt and serving updated assets.

Automated tests

Running acceptance tests locally

Running integration/acceptance tests against the IT stack

Once your IT environment is up (for example via make it-complete-build), you can execute the full Codeception test suite wired for the Docker stack with:

To run codecept with detail breakdown of steps and debugging add these flags:

using the configuration in codeception.yml and tests/Acceptance.suite.yml, against http://magento.test via Selenium/WebDriver.


All versions of magento-payments-plugin with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package publicsquare-financial/magento-payments-plugin contains the following files

Loading the files please wait ...