Skip to content
Snippets Groups Projects
Commit dece041a authored by mattwire's avatar mattwire
Browse files

Use processor_id instead of trxn_id for recur

parent 53361147
No related branches found
No related tags found
No related merge requests found
......@@ -422,7 +422,7 @@ function civicrm_api3_stripe_Listevents($params) {
if ($subscription) {
// Check if recurring contribution can be found.
$results = civicrm_api3('ContributionRecur', 'get', ['trxn_id' => $subscription]);
$results = civicrm_api3('ContributionRecur', 'get', ['processor_id' => $subscription]);
if ($results['count'] > 0) {
$item['contribution_recur_id'] = $results['id'];
$contribution_recur = array_pop($results['values']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment