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

Add actual field name for processor_id to getSubscriptionDetails #17466

Merged
merged 1 commit into from
Jun 2, 2020

Conversation

mattwire
Copy link
Contributor

@mattwire mattwire commented Jun 2, 2020

Overview

In some places in the code (notably parts of cancelSubscription) civicrm_contribution_recur.processor_id is renamed to subscription_id. This retrieves it as processor_id as well so that we can reduce the confusion one day!

Before

In some places you have to access processor_id via subscription_id

After

In more places you can directly access processor_id.

Technical Details

Comments

@seamuslee001 This should help clarify #17461 a little bit

@civibot
Copy link

civibot bot commented Jun 2, 2020

(Standard links)

@civibot civibot bot added the master label Jun 2, 2020
@mattwire mattwire force-pushed the subscriptiondetail branch from 4d8023e to 576e8e0 Compare June 2, 2020 09:45
@eileenmcnaughton
Copy link
Contributor

OK - I think it's hard to see why we introduce subscriptionId as another name for the field here.

@seamuslee001 seamuslee001 merged commit 3e5eb70 into civicrm:master Jun 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants