I think we've found the origin of this problem. When a user buys a pack, it only works when the internal ID of the selected pack (field "wp_jr_job_packs.id") is not used in the table...