You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Event sent to: https://{{base_url}}/wp-admin/admin-ajax.php?action=ccbill-webhook&eventType=Cancellation&clientAccnum={{clientAccnum}}&clientSubacc={{clientSubacc}}&eventGroup={{eventGroup}}&validate=true&creationDate=2024-07-14T05:24:49.122Z
Describe the bug
The cancellation event cancels the member's membership rather than just the subscription.
What should happen is that the subscription is canceled so they're no longer billed, but the membership should remain active until the next bill date.
https://github.com/strangerstudios/pmpro-ccbill/blob/dev/webhook.php#L348-L367
To Reproduce
Steps to reproduce the behavior:
Event sent to:
https://{{base_url}}/wp-admin/admin-ajax.php?action=ccbill-webhook&eventType=Cancellation&clientAccnum={{clientAccnum}}&clientSubacc={{clientSubacc}}&eventGroup={{eventGroup}}&validate=true&creationDate=2024-07-14T05:24:49.122Z
Event data sent:
Screenshots
If applicable, please attach a screenshot to make your issue clearer.
Expected behavior
A clear and concise description of what you expected to happen.
The text was updated successfully, but these errors were encountered: