Coder Social home page Coder Social logo

craft-commerce's Introduction

MultiSafepay logo

MultiSafepay plugin for Craft Commerce 3

Easily integrate MultiSafepay payment solutions into your Craft Commerce 3 webshop with the free and completely new MultiSafepay Craft Commerce 3 plugin.

About MultiSafepay

MultiSafepay is a collecting payment service provider which means we take care of the agreements, technical details and payment collection required for each payment method. You can start selling online today and manage all your transactions from one place.

Requirements

Installation

You can install our plugin through Composer:

# Require MultiSafepay plugin
composer require multisafepay/craft-commerce

# Install MultiSafepay plugin
./craft plugin/install multisafepay

Support

You can create issues on our repository. If you need any additional help or support, please contact [email protected]

A gift for your contribution

We look forward to receiving your input. Have you seen an opportunity to change things for better? We would like to invite you to create a pull request on GitHub. Are you missing something and would like us to fix it? Suggest an improvement by sending us an email or by creating an issue.

What will you get in return? A brand new designed MultiSafepay t-shirt which will make you part of the team!

License

The MIT License MIT

Want to be part of the team?

Are you a developer interested in working at MultiSafepay? View our job openings and feel free to get in touch with us.

craft-commerce's People

Contributors

danielcivit avatar j0riss avatar jasper-multisafepay avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

jornwildenbeest

craft-commerce's Issues

Problems installing because of Guzzle 6

Can't install the plugin when using other craft plugins like simplonprod/craft-newsletter or when Guzzle 7 is already installed by composer.

Please update php-http/guzzle6-adapter to version 7, so Guzzle 7 wil installed.

See composer log:

composer require multisafepay/craft-commerce   
Using version ^1.2 for multisafepay/craft-commerce
./composer.json has been updated
Running composer update multisafepay/craft-commerce
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires multisafepay/craft-commerce ^1.2 -> satisfiable by multisafepay/craft-commerce[1.2.0].
    - multisafepay/craft-commerce 1.2.0 requires guzzlehttp/psr7 ^1.6 -> found guzzlehttp/psr7[1.6.0, ..., 1.8.3] but the package is fixed to 2.1.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require multisafepay/craft-commerce:*" to figure out if any version is installable, or "composer require multisafepay/craft-commerce:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

TypeError for config setting

When using a multisafepay.php config setting.
I get the following error:

TypeError Argument 1 passed to Craft::parseEnv() must be of the type string or null, bool given, called in /Users/XXXX/vendor/multisafepay/craft-commerce/src/services/SdkService.php on line 24

To recreate the problem:
Create a config file like this:

use craft\helpers\App;

return [
    '*' => [
        'testMode' => true,
        'apiKey' => App::env('MSP_KEY')
    ],
    'production' => [
        'testMode' => false,
        'apiKey' => App::env('MSP_KEY')
    ],
];

Then:

  1. Create a cart with a product
  2. Go to a checkout flow
  3. When posting gateway data to 'commerce/payments/pay' with the paymentMethod of MSP, this error occurs

When changing the testMode true and false to strings the problem is solved.

Problems installing because of guzzlehttp/psr7

Can't install the plugin when using other craft plugins or when guzzlehttp/psr7 is already installed by composer.

Please update guzzlehttp/psr7 to version 2.

See composer log:

composer require multisafepay/craft-commerce
Using version ^1.3 for multisafepay/craft-commerce
./composer.json has been updated
Running composer update multisafepay/craft-commerce
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires multisafepay/craft-commerce ^1.3 -> satisfiable by multisafepay/craft-commerce[1.3.0, 1.3.1].
    - multisafepay/craft-commerce[1.3.0, ..., 1.3.1] require guzzlehttp/psr7 ^1.6 -> found guzzlehttp/psr7[1.6.0, ..., 1.8.5] but the package is fixed to 2.2.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require multisafepay/craft-commerce:*" to figure out if any version is installable, or "composer require multisafepay/craft-commerce:^2.1" if you know which you need.

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.