Added endpoint '/paypal-webhook' to handle PayPal webhook notifications. Verified webhook signature using PayPal SDK.
Processed PayPal payment events (payer email, payment ID etc.). Update user profiles and increment their available_ships count in the supabase database.
Posted notifications to Discord and send details(email, payment ID and product purchased(landing or portfolio)).
updated .env.template of root folder with required paypal env variables.
Integrated PayPal Webhook Handling:
Added endpoint '/paypal-webhook' to handle PayPal webhook notifications. Verified webhook signature using PayPal SDK. Processed PayPal payment events (payer email, payment ID etc.). Update user profiles and increment their available_ships count in the supabase database. Posted notifications to Discord and send details(email, payment ID and product purchased(landing or portfolio)).
updated .env.template of root folder with required paypal env variables.