Refactor Stripe Checkout handling with fallback support and option to choose between hooks
- Extracted payment handling into reusable function
handle_payments_from_gateway() - Implemented fallback via
template_redirecton order-received page to ensure order completion - Improved code structure and maintainability
- Added admin setting to switch between hook modes
Edited by Dani Ramos