Download the PHP package pixelpillow/lunar-api-mollie-adapter without Composer

On this page you can find all versions of the php package pixelpillow/lunar-api-mollie-adapter. 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 lunar-api-mollie-adapter

lunar-api-mollie-adapter

Table of Contents

Description

This package is designed to seamlessly integrate Mollie payments into your Lunar storefront. By leveraging the Lunar API, this adapter makes it easy to accept and manage payments through Mollie, a popular payment service provider.

Whether you're running an e-commerce platform or a subscription service, this adapter will help you handle payments efficiently and securely. With easy installation and configuration, you can have Mollie payments up and running on your Lunar storefront in no time.

Please follow the installation and configuration instructions in the Installation section to get started.

Dependencies

This package depends on the following packages:

Features

Installation

  1. Install this package via composer:

  2. Publish the config file:

  3. Add your Mollie API key (You can obtain your API key by signing up on the Mollie website.) to the .env file:

  4. Add the Mollie payment type to the config/lunar/payments.php file:

  5. Manage the redirect on success in your own RedirectOnSuccessUrlGenerator by defining your own generator in the config/lunar-api-mollie-adapter.php file:

  6. Manage the redirect on failure in your the RedirectOnFailureUrlGenerator by defining your own generator in the config/lunar-api-mollie-adapter.php file:

Example JSON:API request for creating a Mollie IDEAL paymentIntent

The create-payment-intent url is a signed url can be found in the response of the POST /api/v1/carts/{cart}/-actions/checkout request.

POST api/v1/orders/{order}/-actions/create-payment-intent

Example JSON:API request for creating a Mollie Bancontact paymentIntent

The create-payment-intent url is a signed url can be found in the response of the POST /api/v1/carts/{cart}/-actions/checkout request.

POST api/v1/orders/{order}/-actions/create-payment-intent

Endpoints

This package extends the Lunar API with the following endpoints:

GET /api/v1/payment-methods

Returns a list of enabled payment methods in the Mollie dashboard. The results are not paginated. See the Mollie API documentation for more information.

Example response:

POST /api/v1/payment-issuers

Returns a list of available payment issuers for ideal payments, including the issuer ID, issuer name and more. See the Mollie API documentation for more information.

Example response:

Security

If you discover any security related issues, please email security[at]pixelpillow.nl instead of using the issue tracker.

Acknowledgements

License

The MIT License (MIT). Please see License File for more information.


All versions of lunar-api-mollie-adapter with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
dystcz/lunar-api Version ^0.8
illuminate/contracts Version ^10.0
mollie/laravel-mollie Version ^2.25
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 pixelpillow/lunar-api-mollie-adapter contains the following files

Loading the files please wait ....