Renewing Membership with API
We would like to offer our members the chance to renew their membership from our WordPress site. How do you recommend we use the API to accomplish this in a way that integrates well with the regular Wild Apricot renewal process?
Ideally we would update the contact (change the membership level, if needed, and update the renewal due date), produce an invoice for the renewal, and record a payment for that invoice. Have I missed something?
Since the API still does not allow the creation of new invoices directly (I can generate an invoice for an event, but not for anything else like this renewal), it seems we can't actually create an invoice for the renewal with the API. So should we just update the contact and make a payment without an invoice?
Also, it is not clear to me if we should update the renewal date last updated field or if that will be done for us when we change the renewal due date?
Thanks for any advice you have on using the API to renew members.
We added invoice management in 5.9 release.
Sundar Natarajan commented
When creating a contact , we would like to set membership level. It is not getting updated using API V2. Any help please.
1. You are right, for a moment there is no way to manage membership invoices directly (we are working on this now).
The only way is: set proper membership status and update contact with flag RecreateInvoice=true.
For renewal you should set status to pending-renewal.
2. the renewal date last updated field is updated automatically on every renewal date change
Did it clarify the problems?