Zdjęcie niedostępne

MultipayHub Payment Gateway

Accept payments with Google Pay, Apple Pay and Redsys

Developed by David C Cavalcante

Get This Module Free on GitHub
PS 1.7 – 9.x License: Unknown Status: Active Health: Excellent

Info updated 1 month ago

Sources
Forks: 1 Last commit: Mar 11, 2025
Type
Module

Info checked: Mar 2, 2026

MultipayHub - Payment Module for PrestaShop

<div align="center">

</div>

MultipayHub is a module for PrestaShop that integrates three popular payment methods into a single solution: Google Pay, Apple Pay, and Redsys.

Features

  • Integration with Google Pay for fast payments
  • Support for Apple Pay on iOS devices
  • Integration with the Redsys platform for card payments
  • Unified checkout interface
  • Admin panel for credential configuration
  • Easy order status management

Requirements

  • PrestaShop 1.7.x or 8.x
  • PHP 7.2 or higher
  • cURL extension enabled
  • Merchant account with Google Pay (for Google payments)
  • Merchant account with Apple Pay (for Apple payments)
  • Redsys merchant account (for Redsys payments)

Installation

1. Download the module ZIP file 2. Access the PrestaShop admin panel 3. Navigate to "Modules > Module Manager" 4. Click on "Upload a module" and select the downloaded ZIP file 5. After upload, click "Install" on the MultipayHub module

Alternatively, you can install the module manually:

1. Unzip the ZIP file 2. Copy the "MultipayHub" folder to the <code>/modules/</code> directory of your PrestaShop installation 3. Access the admin panel and navigate to "Modules > Module Manager" 4. Find MultipayHub in the list and click "Install"

Configuration

After installation, you need to configure the credentials for each payment method:

Google Pay

1. Go to "Modules > Module Manager > MultipayHub > Configure" 2. In the "Google Pay" tab, provide:

  • Merchant ID
  • API Key
  • Environment (Test/Production)

Apple Pay

1. In the "Apple Pay" tab, configure:

  • Merchant Identifier
  • Certificate (.pem file)
  • Private Key
  • Environment (Sandbox/Production)

Redsys

1. In the "Redsys" tab, provide:

  • FUC (Merchant Code)
  • Secret Key (Clave Secreta)
  • Terminal
  • Environment (Test/Production)

Usage

After configuration, the payment methods will automatically appear on the store's checkout page. The customer can choose between Google Pay, Apple Pay, or Redsys during the purchase completion process.

Troubleshooting

If you encounter problems during installation or use of the module:

1. Verify that all credentials have been configured correctly 2. Confirm that the server meets all requirements 3. Check PrestaShop logs for specific error messages 4. For Apple Pay, confirm that the domain is verified in the Apple developer account

Support

For technical support or questions about the module, contact us through:

  • Email: davcavalcante@proton.me

Development

Development Requirements

  • PHP 7.2 or higher
  • Composer (dependency manager)
  • PrestaShop 1.7.x or 8.x installed locally
  • Git for version control
  • IDE or code editor (recommended: Visual Studio Code, PhpStorm)

Local Environment Setup

1. Clone the repository:

    git clone https://github.com/Takk8IS/PrestaShop-Module-MultipayHub.git
    

2. Install dependencies:

    composer install
    

3. Create a symbolic link to the PrestaShop modules directory:

    ln -s /path/to/multipayhub /path/to/prestashop/modules/multipayhub
    

4. Access the PrestaShop admin panel and activate the module.

Project Structure

multipayhub/

├── classes/ # Main module classes ├── controllers/ # Front and admin controllers ├── translations/ # Translation files (.php) ├── views/ # Templates and assets │ ├── css/ # Stylesheets │ ├── img/ # Module images │ ├── js/ # JavaScript scripts │ └── templates/ # Smarty templates (.tpl) │ ├── admin/ # Admin templates │ ├── front/ # Front-end templates │ └── hook/ # Hook templates ├── composer.json # Project dependencies ├── config.xml # Module XML configuration ├── index.php # Security file ├── logo.png # Module logo ├── multipayhub.php # Main module file └── README.md # Documentation

Useful Commands

  • Validate PHP code: <code>php -l file.php</code>
  • Check PSR standards: <code>./vendor/bin/phpcs --standard=PSR2 classes/</code>
  • Create distribution file: <code>zip -r multipayhub.zip multipayhub -x &quot;multipayhub/.git/&quot; -x &quot;multipayhub/vendor/&quot;</code>
  • Clear PrestaShop cache: <code>php bin/console cache:clear</code> (at PrestaShop root)

Contribution Guide

Reporting Bugs

1. Check if the bug has already been reported in the GitHub Issues section. 2. Use the bug report template to provide detailed information:

  • Module version
  • PrestaShop version
  • Steps to reproduce the issue
  • Expected behavior vs. actual behavior
  • Screenshots (if applicable)
  • Relevant error logs

Suggesting Improvements

1. Open a new issue describing your suggestion. 2. Clearly explain the problem your suggestion solves. 3. Describe how you imagine the solution should work. 4. If possible, include examples or mockups.

Pull Request Process

1. Fork the repository and create a branch from <code>main</code>. 2. Name your branch according to the type of change:

  • <code>feature/feature-name</code>
  • <code>fix/fix-description</code>
  • <code>docs/documentation-update</code>

3. Make your changes, following the established code standards. 4. Run tests, if available. 5. Submit the Pull Request to the <code>main</code> branch. 6. In the PR description, explain what was changed and why.

Code Standards

  • Follow PSR-1, PSR-2, and PSR-4 standards
  • Use English naming for variables, functions, and classes
  • Comment complex code
  • Maintain consistent indentation (use spaces, not tabs)
  • Add docblocks for all classes and methods
  • Avoid commented code

Licence

This project is licensed under the CC-BY-4.0 Licence. See the LICENSE file for more details.

Donations

If this project has been helpful, consider making a donation:

USDT (TRC-20): <code>TP6zpvjt2ZNGfWKPevfp65ZrcbKMWSQXDi</code>

Your support helps us continue to develop innovative tools.

Support

To contribute to public and social projects focused on research and artificial intelligence, feel free to support with any amount you prefer.

About the Author

David C Cavalcante

  • Philosopher & Writer, Artificial Intelligence Consultant Tech Lead, Researcher & Author, Strategic Marketing & Design Specialist, Developer & Software Engineer

Takk™ Innovate Studio

  • Positive results, rapid innovation
  • Leading the Digital Revolution as the Pioneering 100% Artificial Intelligence Team

  • Indeks
    multipayhub

  • License
    Unknown
  • PS Compatibility
    1.7.x
    8.x
    9.x
  • Status
    Active

Komentarze (0)

Na razie nie dodano żadnej recenzji.
Ładowanie...