paypossible / payment-gateway
PayPossible Magento 2 Payment Gateway
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 4
Type:magento2-module
Requires
- php: ~7.0.13||~7.1.0||~7.2.0||~7.3.0||~7.4.0||~8.0.0||~8.1.0||~8.2.0||~8.3.0
- magento/framework: ^102.0||^103.0||^104.0
- magento/module-payment: ^100.0||^101.0
Requires (Dev)
This package is not auto-updated.
Last update: 2025-09-12 21:12:14 UTC
README
PayPossible is a multi-lender platform that provides financing and leasing options at the point of sale. This extension integrates the PayPossible Payment Gateway into Magento 2, enabling merchants to offer flexible payment options to their customers.
Features
- Seamless integration with PayPossible's API for financing and leasing options.
- Configurable in Magento's admin panel with options for test mode, merchant ID, and custom API tokens.
- Redirects customers to PayPossible's secure payment page for completing the checkout.
- Handles callback responses to update order status automatically.
- Supports full order lifecycle operations such as capturing, voiding, and refunding orders.
Requirements
- PHP 7.4+ or 8.1+
- Magento 2.4+
- PayPossible API credentials (merchant ID, merchant token)
Installation
1. Install via Composer
Navigate to the root of your Magento 2 installation and run the following command to install the PayPossible Payment Gateway module:
composer require paypossible/payment-gateway
2. Enable the Module
After the module is installed, enable it with Magento CLI:
php bin/magento module:enable PayPossible_PaymentGateway php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento cache:flush
Configuration
- Navigate to the Magento admin panel.
- Go to Stores > Configuration > Sales > Payment Methods.
- Under the PayPossible Payment Gateway section, configure the following options:
- Merchant ID: Your PayPossible merchant ID.
- Merchant Token: Your PayPossible API token for authenticating requests.
- Test Mode: Enable or disable test mode.
- Payment Method Description: Description of the payment method displayed to customers.
Usage
- Customers will see the PayPossible payment option during checkout.
- When selected, the cart and customer data will be sent to PayPossible's API.
- Customers will be redirected to PayPossible to complete the financing or leasing process.
- Upon completion, PayPossible will redirect the customer back to your Magento store and update the order status.
Handling Callbacks
PayPossible sends order status updates via callback. The module automatically handles the following status updates:
- Approved: Marks the order as Processing and sends an order confirmation email to the customer. 1 of 2
- Failed: Cancels the order in Magento if the payment fails. 2 of 2
Development
Code Standards
This project follows Magento 2's coding standards, which are based on PSR-1 and PSR-2. Use phpcs to check your code before committing changes:
vendor/bin/phpcs
You can fix coding issues automatically by running:
vendor/bin/phpcbf
Testing```
To test the integration, enable Test Mode in the configuration and use the PayPossible staging environment.
Uninstall
To remove the module from your Magento 2 installation, run the following commands:
- Disable the module:
php bin/magento module:disable PayPossible_PaymentGateway
- Remove the module via Composer:
composer remove paypossible/payment-gateway
- Run Magento upgrade and cache flush:
php bin/magento setup:upgrade php bin/magento cache:flush
Contributing
If you find a bug or would like to contribute to this project, please open an issue or submit a pull request on the project's repository.