MozillaFoundation / donate-wagtail

[Legacy] - Wagtail based donation stack
Mozilla Public License 2.0
43 stars 22 forks source link

removed unneeded get_form_kwargs function #1728

Closed danielfmiranda closed 1 year ago

danielfmiranda commented 1 year ago

Closes #1727

This PR removes the unneeded get_form_kwargs method from the PaypalUpsellView, as the changes in #1708 provide everything that is needed.

This fixes the 500 error that was being caused by an unexpected currency argument being introduced by get_form_kwargs.

Steps to test:

  1. Check out this branch
  2. Make a one-time paypal payment > 20USD using the credentials found in 1password
  3. You should get redirected to the upsell form.
  4. If everything is working as expected, testing is complete!