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.
Download pixelpillow/lunar-api-mollie-adapter
More information about pixelpillow/lunar-api-mollie-adapter
Files in pixelpillow/lunar-api-mollie-adapter
Package lunar-api-mollie-adapter
Short Description This addon enables Mollie payments on your Lunar storefront when using the Lunar API package.
License MIT
Homepage https://github.com/pixelpillow/lunar-api-mollie-adapter
Informations about the package lunar-api-mollie-adapter
Table of Contents
- Description
- Dependencies
- Features
- Installation
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
- [x] Multiple payment methods, including iDEAL, credit card, PayPal, Apple Pay, and more
- [x] Expose Payment methods in the API
- [x] Expose Payment issuers for ideal payments in the API
Installation
-
Install this package via composer:
-
Publish the config file:
-
Add your Mollie API key (You can obtain your API key by signing up on the Mollie website.) to the
.env
file: -
Add the Mollie payment type to the
config/lunar/payments.php
file: -
Manage the redirect on success in your own
RedirectOnSuccessUrlGenerator
by defining your own generator in theconfig/lunar-api-mollie-adapter.php
file: - Manage the redirect on failure in your the
RedirectOnFailureUrlGenerator
by defining your own generator in theconfig/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:
Security
If you discover any security related issues, please email security[at]pixelpillow.nl instead of using the issue tracker.
Acknowledgements
- All Contributors
- Lunar for providing awesome e-commerce package.
- Dystcz for creating the Lunar API package.
- Laravel JSON:API which is a brilliant JSON:API layer for Laravel applications
- Mollie for providing a great payment service.
License
The MIT License (MIT). Please see License File for more information.
All versions of lunar-api-mollie-adapter with dependencies
dystcz/dystore-api Version 1.0.0-beta.3
mollie/laravel-mollie Version ^3.0