- Issue created by @dexter23
Hello, I installed this module for Drupal 10, following the Automated Drupal 10 compatibility fixes posted here:
https://www.drupal.org/project/recurring_donation/issues/3289269 →
The patches seem to work properly, as I was able to install the module and everything seems to work properly without getting any error.
I have set up the configuration page for it to show three different amounts (5.00, 10.00, 15.00) and also the option to allow a custom amount.
I added the block and everything shows as expected. The problem is that whatever amount I select (either one of the three fixed amounts or the custom one with whatever amount I enter there) and click on the "Donate" button, it takes me to the Paypal page, showing correctly the email address of the PayPal account I'm going to donate to, but the amount is just 0 USD and it needs to be changed manually for it to work. Therefore, the amounts sent from the donation form are not being passed and the user is just redirected to a page to donate having to enter their choosen amount there. I'm attaching a screenshot of how it shows (I just changed the right email address, but the real one is a working PayPal account, so it has nothing to do with that).
I don't think the problem has anything to do with this being "ported" to Drupal 10, as the changed made are minor and have nothing to do with the PayPal form or the values sent to it, so maybe it has to do with some changes that PayPal made to how the donation parameters are sent that may happened after this module was created and was not updated afterwards.
If somebody has any idea of where the issues may be, I could try to find the way to fix it if somebody can point me into the right direction, as I'm not sure on which code should I be looking to. I'm guessing there may be some PayPal API somewhere for this that may fix it, I'm just not that familiar with the coding of this module.
Thank you in advance!
Active
2.1
Code