Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to webhook #37

Merged
merged 6 commits into from
Jul 29, 2024
Merged

Add support to webhook #37

merged 6 commits into from
Jul 29, 2024

Conversation

fmo00
Copy link
Owner

@fmo00 fmo00 commented Jul 28, 2024

  • Implemented PATCH /payment

Webhook will receive notification of payment event and request this endpoint to execute a GET in mercado pago API and update existing database register

  • Implemented datasource module for Mercado Pago third party API consumption
    • Installed axios as dependency to consume outside API
  • Updated payment unit tests with new repository mock method

@fmo00 fmo00 self-assigned this Jul 28, 2024
@fmo00 fmo00 requested a review from eduardopetri July 29, 2024 19:53
@fmo00 fmo00 merged commit fa8ee69 into development Jul 29, 2024
1 check passed
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.

2 participants