1

I am having an issue with auto renew memberships. Civicrm 5.52.2 / Wordpress 6.0.3

The payment is going through just fine. And the statuses (after a Cron run) update just fine but the end_date does not update to reflect the renewal period. Is it a cron I'm missing ?

Please assist, and can you please let me know the name of the function/location responsible for updating the end_date so I can debug this further ?

2
  • Welcome to SE! What payment processor are you using?
    – Aidan
    Oct 18, 2022 at 15:09
  • Thank you Aidan for the welcoming and for your prompt response. GlobalIris Payment Processor. ver 2.0
    – Evan
    Oct 18, 2022 at 15:17

1 Answer 1

1

The end date should update immediately, when the payment is processed and a contribution is created in CiviCRM. This doesn't require a cron job.

I suggest you check to see that the contributions are correctly linked to the membership (via the membership payment table). If you view the membership it should show the related contributions and recurring contributions. If they aren't linked correctly this will mean that the membership doesn't update when a new payment is received.

7
  • Hello William, thank you for your time in looking into this. As you said I narrowed down the issue to the civicrm_membership_payment table which doesn't get updated when the payment is received. There is no entry of the latest contribution found in the civicrm_contribution table.
    – Evan
    Oct 24, 2022 at 8:31
  • One more thing I wanted to add. Once we added the relationship manually on the civicrm_membership_payment for the missing recurrences and re-run the corn to update the status of the membership the end date again didn't update.
    – Evan
    Oct 24, 2022 at 9:25
  • If a membership payment isn't created when the payment is received that sounds like an issue with the payment processor. I'm not familiar with that payment processor. It may be that it doesn't support recurring payments. If this is the payment processor you are using it says it only supports one off payments. civicrm.org/extensions/global-payments Oct 24, 2022 at 18:30
  • I'm afraid running the cron won't help with this. The end date should be updated when the payment is received. Oct 24, 2022 at 18:32
  • 1
    William thank you for all your help, I switched the payment gateway to Stripe and everything works now like a charm!
    – Evan
    Nov 4, 2022 at 12:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.