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: missing event tickets amount for PayPal one-time donations #7403

Merged

Conversation

glaubersilva
Copy link
Contributor

@glaubersilva glaubersilva commented Jun 5, 2024

Resolves GIVE-853

Description

This PR implements a fix for the bug that sends only the donation amount to PayPal and ignores the value of the event tickets associated with the donation.

Important: The fix is exclusive for one-time donations made with PayPal Donations. A subsequent PR in the recurring add-on repository will be necessary for recurring donations made with this same gateway.

Affects

One-time donations made with the PayPal Donations gateway.

Visuals

I recorded a video to discuss a possible fix for it in the recurring donations and in the first minutes I demonstrated the fix implemented by this PR as well.

Here is the link:

https://www.loom.com/share/8822471d6c5f46429a20a16aafef0627?sid=d5d128aa-d172-47f1-b28a-8074d8083285

Testing Instructions

  1. Connect PayPal Donations;
  2. Create an event and attach it to a form;
  3. Donate and purchase event tickets - the donation summary and confirmation say the complete amount has been charged;
  4. Go to the PayPal Donations dashboard and make sure the complete amount (donation + tickets) has been charged.

Pre-review Checklist

  • Acceptance criteria satisfied and marked in related issue
  • Relevant @unreleased tags included in DocBlocks
  • Includes unit tests
  • Reviewed by the designer (if follows a design)
  • Self Review of code and UX completed

@glaubersilva glaubersilva self-assigned this Jun 5, 2024
@glaubersilva glaubersilva force-pushed the fix/paypal-missing-tickets-amount-GIVE-853 branch from b821651 to 8dd21de Compare June 5, 2024 20:31
@glaubersilva glaubersilva changed the base branch from develop to master June 5, 2024 20:31
@glaubersilva glaubersilva marked this pull request as ready for review June 5, 2024 20:40
Copy link
Contributor

@JasonTheAdams JasonTheAdams left a comment

Choose a reason for hiding this comment

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

Good work, @glaubersilva! Thanks for thinking through this together! Let's get this to QA!

Copy link
Member

@rickalday rickalday left a comment

Choose a reason for hiding this comment

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

Passed manual QA tests

@pauloiankoski pauloiankoski changed the base branch from master to release/3.12.2 June 11, 2024 16:18
@pauloiankoski pauloiankoski merged commit d714de4 into release/3.12.2 Jun 11, 2024
20 checks passed
@pauloiankoski pauloiankoski deleted the fix/paypal-missing-tickets-amount-GIVE-853 branch June 11, 2024 16:20
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.

4 participants