The plugin's dependencies are declared in the composer.json file.
Make payment through UnDosTres redirection gateway.
To install the plugin:
- Go to
Plugins. - Click on
Add newat the top of the page. - Click on
Upload pluginat the top of the page. - Upload the plugin.
- Click on
Install nowat the side of the uploader. - Click on
Activate plugin.
To update it's only necessary to do the installation process again.
To uninstall the plugin:
- Go to
Plugins. - Click on
DeactivateunderWooCommerce UnDosTres Gateway. - Click on
DeleteunderWooCommerce UnDosTres Gateway. - Accept the alert.
To configure the plugin do the following:
- Go to
Plugins. - Click on
SettingsunderWooCommerce UnDosTres Gateway. - Set the parameters then click the
Savebutton.
The logging system writes to a file at $WORDPRESS_ROOT/wp-content/uploads/wc-logs. The file's name follows the format:
UnDosTres-YYYY-MM-DD-\[random-string\]
WooCommerce also lets you see the logs in the admin panel, by going to WooCommerce > Status > Logs.
The debugging configuration can be found in the launch.json file.
-
launch.json specifies port 9009 for debugging with Xdebug (php-fpm).
-
Activate ssh tunneling:
- On the server, set
GatewayPorts yesin the sshd configuration file (/etc/ssh/sshd_config). - Restart the ssh server:
sudo service sshd restartorsudo systemctl restart sshd
- On the server, set
-
Increase nginx response time by adding the following lines to your site's section in the
sites-enabledconfiguration file:
proxy_connect_timeout 600;
proxy_send_timeout 600;
proxy_read_timeout 600;
send_timeout 600;
Install the following extensions in the local machine:
- PHP Debug, on VsCode.
- Xdebug helper, on web browser.
Do ssh tunneling:
ssh user@server -N -R 9009:localhost:9009 -v
Click on the extension icon in the browser and select the debug option.
https://github.com/undostres-com-mx/woocommerce-gateway-undostres