CiviCRM

User Dashboard creates link incorrectly to "Change Recurring Contribution"

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Blocker Blocker
  • Resolution: Won't Fix
  • Affects Version/s: 2.2.2
  • Fix Version/s: 3.0
  • Component/s: CiviContribute
  • Labels:
    None

Description

After a user creates a recurring donation the "Change Recurring Contribution" link is generated incorrectly in the user's dashboard. I'm not sure if e-mail links that are generated related to this are also incorrect or not.

The link looks like:
https://www.paypal.com/cgi-bin/webscr?cmd=_subscr-find&alias=<EMAIL>

<EMAIL> appears to be pulling the e-mail address from the CiviCRM "From Email Address Options" page rather than the user's own e-mail address.

I verified this on the 2.2.2 demo and on my own 2.2.2 site both running Drupal.

Activity

Hide
Keith A. Prickett added a comment -
I found the url being generated in the:

cancelSubscriptionURL() function

within the file: "CRM/Core/Payment/PayPalImpl.php"

I'm currently searching for a proper method to get the user's billing e-mail address (or some other appropriate user e-mail address).

I think even supplying the user's billing e-mail address is not entirely accurate if the user logged into paypal with a different e-mail address than the one he uses for signing into CiviCRM.
Show
Keith A. Prickett added a comment - I found the url being generated in the: cancelSubscriptionURL() function within the file: "CRM/Core/Payment/PayPalImpl.php" I'm currently searching for a proper method to get the user's billing e-mail address (or some other appropriate user e-mail address). I think even supplying the user's billing e-mail address is not entirely accurate if the user logged into paypal with a different e-mail address than the one he uses for signing into CiviCRM.
Hide
Keith A. Prickett added a comment -
I just realized I think I interpreted the Paypal error message I was receiving incorrectly. The code is indeed correct in using the payment processor's e-mail address.

Here is the real issue:

I created a recurring contribution, but then once I got on the paypal page I closed the window

So now when I click "Change Recurring Contribution" from the dashboard I get the following paypal error:

No active subscriptions to <alias_email> were found. You can find the status of all subscriptions in your transaction history.
So indeed I can't "Change" my recurring contribution

Should I create another issue or is this an issue that really can't be prevented or detected?
Show
Keith A. Prickett added a comment - I just realized I think I interpreted the Paypal error message I was receiving incorrectly. The code is indeed correct in using the payment processor's e-mail address. Here is the real issue: I created a recurring contribution, but then once I got on the paypal page I closed the window So now when I click "Change Recurring Contribution" from the dashboard I get the following paypal error: No active subscriptions to <alias_email> were found. You can find the status of all subscriptions in your transaction history. So indeed I can't "Change" my recurring contribution Should I create another issue or is this an issue that really can't be prevented or detected?
Hide
Sunil Pawar added a comment -
"No active subscriptions to <alias_email> were found. You can find the status of all subscriptions in your transaction history.
So indeed I can't "Change" my recurring contribution "

This error occured when:

 In PayPal Merchant account, there is no subscription related transaction present
 and user are trying to fetch subscription related transaction.

the Error show by PayPal, i think correct.

Show
Sunil Pawar added a comment - "No active subscriptions to <alias_email> were found. You can find the status of all subscriptions in your transaction history. So indeed I can't "Change" my recurring contribution " This error occured when:  In PayPal Merchant account, there is no subscription related transaction present  and user are trying to fetch subscription related transaction. the Error show by PayPal, i think correct.
Hide
Kurund Jalmi added a comment -
Batch move to verification
Show
Kurund Jalmi added a comment - Batch move to verification

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: