WARNING: Changing this after you have active subscriptions or existing post‑access will break cancellations and restores.
Enter the name of the key in the access‑granted payload that holds the post’s ID. Default:
Enter the name of the key in the access‑granted payload that holds the post’s ID. Default:
post_id
.Surecart doesn't record the post_id meta as post_id; it holds it at whatever the parameter key is set to at the time of purchase. Changing your post_id affects all posts and subscriptions. It is not retrospective, so any cancellations will not be processed, and the same goes for reactivations if you have changed the setting and the post_id meta doesn't match, which will be the case if you change it with items in place.
When an invoke or revoke is run Post Manager for SureCart will take the current parameter key and go and look for that meta field, if that doesn't exist no revoke or invoke will take place.
For this reason, it is STRONGLY recommended that you set up your post meta just once and don't update it unless you're only selling one-time access, in which case revoke and invoke won't be necessary.
If you must change it, you must manually invoke and cancel old subscriptions or get clients to resubscribe using the new post_id.