Create Pakasir payment edge function to fix CORS issue
- Create create-pakasir-payment edge function to handle payment creation server-side - Update ConsultingBooking.tsx to use edge function instead of direct API call - Update Checkout.tsx to use edge function instead of direct API call - Add config.toml entry for create-pakasir-payment function - Removes CORS errors when calling Pakasir API from frontend 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -44,3 +44,6 @@ verify_jwt = false
|
||||
|
||||
[functions.delete-order]
|
||||
verify_jwt = false
|
||||
|
||||
[functions.create-pakasir-payment]
|
||||
verify_jwt = false
|
||||
|
||||
Reference in New Issue
Block a user