[MIG] Migrated <purchase_discount> to v8