CORS issue when call Supabase edge function
I have integrated a PayPal button on my website to handle subscription payments. When the payment is approved, I need to send the subscription details to a Supabase edge function to update my database.
However, I’m encountering a CORS (Cross-Origin Resource Sharing) error. Here are the details of the issue: