WooCommerce Payment Method Redirect from BACS
Budget: €30 – €250 EUR
I need the checkout flow in my WooCommerce store adjusted so that only orders placed with the “Bank Transfer” gateway bypass the default “Order received” screen and jump straight to a URL I’ll supply.
The user will be redirected to the page based on his order amount.
For example:
If the order amount is 99 eur, he needs to be redirected to test.com/payment/99
If the order amount is 34 eur, he needs to be redirected to test.com/payment/34
The URL test.com/payment/99 and so on already exist, as it is from a payment terminal that can handle any amount from 1 to 500.000
The solution can be delivered as a small plugin or a code snippet for functions.php; either way it must:
• Detect the order amount on checkout completion
• Trigger an immediate redirect when that method equals “bacs” (Bank Transfer)
• Add no custom message—just the redirect itself
Please test on a recent WooCommerce build and provide brief installation steps so I can drop the code into production without downtime. If necessary, I can also provide a test WP site.
The user will be redirected to the page based on his order amount.
For example:
If the order amount is 99 eur, he needs to be redirected to test.com/payment/99
If the order amount is 34 eur, he needs to be redirected to test.com/payment/34
The URL test.com/payment/99 and so on already exist, as it is from a payment terminal that can handle any amount from 1 to 500.000
The solution can be delivered as a small plugin or a code snippet for functions.php; either way it must:
• Detect the order amount on checkout completion
• Trigger an immediate redirect when that method equals “bacs” (Bank Transfer)
• Add no custom message—just the redirect itself
Please test on a recent WooCommerce build and provide brief installation steps so I can drop the code into production without downtime. If necessary, I can also provide a test WP site.
Related categories:
PHP
JavaScript
WordPress
CSS
HTML
WooCommerce
Web Development
Payment Gateway Integration
API Integration
Web Design