Skip to content

Conversation

@ostepan8
Copy link

ℹ️ Issue

Closes Code-4-Community#77

📝 Description

Write a short summary of what you added. Why is it important? Any member of C4C should be able to read this and understand your contribution -- not just your team members.

Briefly list the changes made to the code:
Added name, email, and disciplineId fields to the Application entity (these were missing from the original schema)
Created /api/applications/webhook/pandadoc POST endpoint that processes PandaDoc webhook events
Implemented smart field mapping that supports snake_case, Title Case, AND camelCase field names (so we're flexible if PandaDoc field names change)
Added comprehensive logging for webhook events to help with debugging
Created database migration for the new Application fields
Added unit tests for webhook processing (all 8 tests passing)

✔️ Verification

What steps did you take to verify your changes work? These should be clear enough for someone to be able to clone the branch and follow the steps themselves.

Testing

Provide screenshots of any new components, styling changes, or pages.

🏕️ (Optional) Future Work / Notes

Did you notice anything ugly during the course of this ticket? Any bugs, design challenges, or unexpected behavior? Write it down so we can clean it up in a future ticket!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create Endpoint to Receive PandaDoc Submission Data

3 participants