Skip to content
Docs
Get RestroPress

RestroPress Worldline Payment Gateway

Updated 1 min read
On this page

This plugin is meant to add a Worldline payment gateway to RestroPress, but in the code provided it does not contain a gateway. It is a placeholder that is not ready to use.

What exists#

  • A main plugin file (version 1.0.0, author RestroPress) that defines three constants, loads includes/class-rpress-worldline-gateway.php, and creates a RPRESS_Worldline_Gateway object on plugins_loaded. The activation and deactivation hooks are empty.
  • A README.md that lists the intended steps (enable the gateway in RestroPress › Settings › Payment Gateways and enter API keys), and a RESEARCH.md with general notes about Worldline.

What is missing#

  • The includes/ folder and the gateway class file are not in the plugin. Because the main file loads that file with require_once, activating the plugin as supplied ends in a PHP fatal error.
  • There is no code that registers a gateway, adds settings, creates payments, redirects to Worldline or handles a response, so no settings, checkout behaviour or order handling can be documented.
  • There is no licence field and no refund handling.

Troubleshooting#

  • Fatal error mentioning class-rpress-worldline-gateway.php on activation. The file is not part of the plugin. Do not use this plugin on a live site.
Was this page helpful?