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

fix: Donation wish not being created after successfull donation #639

Merged
merged 2 commits into from
Jul 17, 2024

Conversation

sashko9807
Copy link
Member

An issue was detected where, donation wishes aren't imported on charge.succeeded event.

Copy link

github-actions bot commented Jun 6, 2024

❌ Not all tests have run for this PR. Please add the run tests label to trigger them.

@sashko9807 sashko9807 added the run tests Allows running the tests workflows for forked repos label Jun 9, 2024
@github-actions github-actions bot removed the run tests Allows running the tests workflows for forked repos label Jun 9, 2024
@sashko9807 sashko9807 requested a review from slavcho June 9, 2024 13:34
const newDonation = await this.createIncomingDonation(
tx,
paymentData,
newDonationStatus,
campaign,
)
donationId = newDonation.id
donationId = newDonation.donations[0].id
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it always just 1 donation? can this be 0 or more than 1?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At this point it will always be 1 donation.

@slavcho slavcho merged commit 67a8d18 into podkrepi-bg:master Jul 17, 2024
7 of 8 checks 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.

3 participants