BBVA-Wipöp is a new payment platform based on Openpay, The platform is also an online payment platform that allows businesses to receive payments from their customers in a secure and efficient way, both in person and online. It integrates with different payment methods such as credit and debit cards, bank transfers, and other innovative methods such as Bizum, GooglePay or ApplePay.
The challenge
The objective is to implement a series of plugins for different PHP-based e-commerces, such as Woocommerce and PrestaShop, that allow to integrate Wipöp as a platform to process payments, being able to configure which payment options you want to enable each time and configure features such as recurring payment or pre-authorizations for each product of the e-commerce.
The solution
Since several different plugins had to be implemented, there was a risk of having to implement the API of Openpay, with the consequent risks in terms of updates or bug fixes. That's why we decided to build a PHP library that can be used as a base to implement the different plugins for each e-commerce. This way we keep the core functionality in the library, with semantic versioning to facilitate the maintenance of the plugins.
Each developed plugin implements this library, which contains all the necessary logic to communicate with the Openpay API in a transparent way for the plugin, regardless of the e-commerce it is.
The development
For the development of the library we followed the principles of package development for Packagist, the library platform used by Composer, the PHP package manager. We have developed a library that acts as an HTTP client that communicates with the Openpay API transparently to the user, always returning known domain objects. The versioning of the library follows the SEMVER standard, so we can comfortably manage from the plugins which version of the library to use, or update only bug fixes without getting the new features or moving to a new version of the library. major version that could break compatibility with our plugin. For each of the plugins, we have followed the development standards of each e-commerce, to ensure maximum compatibility with it. These plugins after being developed are included in the markets of each e-commerce, so that they can be downloaded and installed by users.
The team
Alberto / Project Manager
Mangel / Tech Lead
Victor / Principal Developer
Technology used
PHP 8.1
Woocommerce
PrestaShop
Related projects

Factorial
Factorial es una scale-up española con presencia internacional. Ofrece una suite de productos para la gestión empresarial, que incluye herramientas de control horario, documentación, organigrama,

Signaturit
Signaturit is an electronic signature platform that allows signing documents and contracts digitally, legally and securely. It offers services such as simple signature,

softonic
Softonic is a software download platform that distributes, categorizes and evaluates software for Windows, Android and Mac worldwide.