mirror of
https://github.com/xtr-dev/payload-billing.git
synced 2025-12-10 02:43:24 +00:00
In v0.1.19, the fix for customUiRoute made it always use the default route '/test-payment' even when customUiRoute was not specified. This caused 404 errors because users were unaware of this default behavior. The plugin actually provides a built-in test payment UI at /api/payload-billing/test/payment/:id that works out of the box. This fix ensures the correct behavior: - When customUiRoute IS specified: Use the custom route - When customUiRoute is NOT specified: Use the built-in UI route This allows the testProvider to work out of the box without requiring users to implement a custom test payment page, while still supporting custom implementations when needed. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
4.6 KiB
4.6 KiB