daytimedrinkingclub / shipstation

Generate and manage your personal website and portfolio with ease
https://shipstation.ai/
79 stars 62 forks source link

#41 - paypal-integration #48

Closed Adityalingwal closed 3 months ago

Adityalingwal commented 3 months ago

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.